home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 12 / BBS in a box XII-1.iso / Files / System7 tools / Frontier / OnLocation Frontier.sit / OnLocation Frontier / OnLocation.Frontier.rsrc / tabl_128 < prev   
Unknown  |  1992-07-30  |  17.4 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
100% file Adobe Photoshop Color swatch, version 1, 848 colors; 1st RGB space (0), w 0x4527, x 0, y 0x50, z 0 ; 2nd RGB space (0), w 0xd00, x 0, y 0xb, z 0 default (weak)
99% file data default
100% TrID DEGAS med-res bitmap default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 01 03 50 00 00 45 27 | 00 00 00 50 00 00 00 00 |...P..E'|...P....|
|00000010| 0d 00 00 00 00 0b 00 00 | 08 5c 0d 00 00 00 08 6b |........|.\.....k|
|00000020| 00 00 21 ac 0d 00 00 00 | 21 b3 00 00 2f ad 0d 00 |..!.....|!.../...|
|00000030| 00 00 2f b8 00 00 30 d6 | 10 00 4f 4e 4c 43 00 00 |../...0.|..ONLC..|
|00000040| 30 d9 0d 00 00 00 30 e6 | 00 00 33 f1 0d 00 00 00 |0.....0.|..3.....|
|00000050| 33 f9 00 00 34 fa 0d 00 | 00 00 35 05 0a 6c 6f 6f |3...4...|..5..loo|
|00000060| 6b 75 70 50 61 74 68 00 | 00 08 4d 00 01 04 6e 00 |kupPath.|..M...n.|
|00000070| 02 00 00 01 08 00 00 06 | c9 00 00 02 00 00 0f 06 |........|........|
|00000080| 47 65 6e 65 76 61 00 00 | 00 00 00 00 00 00 00 00 |Geneva..|........|
|00000090| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000a0| 00 00 09 00 00 00 00 00 | 00 00 00 00 00 07 20 00 |........|...... .|
|000000b0| 00 a5 a7 c8 c2 a6 9c f7 | 0c 00 00 00 18 80 00 00 |........|........|
|000000c0| 3f 00 14 02 1f 01 dd 00 | 00 00 00 00 00 00 00 00 |?.......|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 00 00 00 00 00 00 00 6f | 6e 20 6c 6f 6f 6b 75 70 |.......o|n lookup|
|000000f0| 50 61 74 68 28 77 68 65 | 72 65 2c 69 6e 64 65 78 |Path(whe|re,index|
|00000100| 2c 73 65 61 72 63 68 4d | 6f 64 65 2c 73 65 61 72 |,searchM|ode,sear|
|00000110| 63 68 53 74 72 69 6e 67 | 2c 73 65 61 72 63 68 41 |chString|,searchA|
|00000120| 6e 64 4f 72 29 0d 09 6c | 6f 63 61 6c 20 28 70 61 |ndOr)..l|ocal (pa|
|00000130| 72 61 6d 73 2c 20 72 65 | 73 75 6c 74 2c 20 69 2c |rams, re|sult, i,|
|00000140| 20 66 69 6c 65 2c 20 70 | 61 74 68 2c 20 6e 61 6d | file, p|ath, nam|
|00000150| 65 2c 20 6c 6f 63 29 0d | 09 69 66 20 6e 6f 74 20 |e, loc).|.if not |
|00000160| 73 79 73 2e 61 70 70 49 | 73 52 75 6e 6e 69 6e 67 |sys.appI|sRunning|
|00000170| 28 4f 6e 4c 6f 63 61 74 | 69 6f 6e 2e 69 64 29 0d |(OnLocat|ion.id).|
|00000180| 09 09 73 63 72 69 70 74 | 45 72 72 6f 72 28 22 4f |..script|Error("O|
|00000190| 6e 4c 6f 63 61 74 69 6f | 6e 20 69 73 20 6e 6f 74 |nLocatio|n is not|
|000001a0| 20 72 75 6e 6e 69 6e 67 | 2c 20 6c 6f 6f 6b 75 70 | running|, lookup|
|000001b0| 50 61 74 68 20 63 61 6e | 20 6e 6f 74 20 62 65 20 |Path can| not be |
|000001c0| 63 61 6c 6c 65 64 20 61 | 74 20 74 68 69 73 20 74 |called a|t this t|
|000001d0| 69 6d 65 22 29 0d 09 69 | 66 20 6e 6f 74 20 6e 65 |ime")..i|f not ne|
|000001e0| 77 28 74 61 62 6c 65 54 | 79 70 65 2c 40 70 61 72 |w(tableT|ype,@par|
|000001f0| 61 6d 73 29 0d 09 09 73 | 63 72 69 70 74 45 72 72 |ams)...s|criptErr|
|00000200| 6f 72 28 22 55 6e 61 62 | 6c 65 20 74 6f 20 63 72 |or("Unab|le to cr|
|00000210| 65 61 74 65 20 70 61 72 | 61 6d 65 74 65 72 20 74 |eate par|ameter t|
|00000220| 61 62 6c 65 20 69 6e 20 | 4f 6e 4c 6f 63 61 74 69 |able in |OnLocati|
|00000230| 6f 6e 2e 6c 6f 6f 6b 75 | 70 50 61 74 68 22 29 0d |on.looku|pPath").|
|00000240| 09 69 66 20 69 6e 64 65 | 78 20 21 3d 20 22 22 0d |.if inde|x != "".|
|00000250| 09 09 70 61 72 61 6d 73 | 2e 69 6e 64 78 20 3d 20 |..params|.indx = |
|00000260| 66 69 6c 65 53 70 65 63 | 28 69 6e 64 65 78 29 0d |fileSpec|(index).|
|00000270| 09 70 61 72 61 6d 73 2e | 71 73 74 72 20 3d 20 73 |.params.|qstr = s|
|00000280| 74 72 69 6e 67 28 73 65 | 61 72 63 68 53 74 72 69 |tring(se|archStri|
|00000290| 6e 67 29 0d 09 69 66 20 | 64 65 66 69 6e 65 64 28 |ng)..if |defined(|
|000002a0| 4f 6e 4c 6f 63 61 74 69 | 6f 6e 2e 73 65 61 72 63 |OnLocati|on.searc|
|000002b0| 68 4d 6f 64 65 2e 5b 73 | 65 61 72 63 68 4d 6f 64 |hMode.[s|earchMod|
|000002c0| 65 5d 29 0d 09 09 70 61 | 72 61 6d 73 2e 6d 6f 64 |e])...pa|rams.mod|
|000002d0| 65 20 3d 20 4f 6e 4c 6f | 63 61 74 69 6f 6e 2e 73 |e = OnLo|cation.s|
|000002e0| 65 61 72 63 68 4d 6f 64 | 65 2e 5b 73 65 61 72 63 |earchMod|e.[searc|
|000002f0| 68 4d 6f 64 65 5d 0d 09 | 65 6c 73 65 0d 09 09 73 |hMode]..|else...s|
|00000300| 63 72 69 70 74 45 72 72 | 6f 72 28 22 4f 6e 4c 6f |criptErr|or("OnLo|
|00000310| 63 61 74 69 6f 6e 2e 6c | 6f 6f 6b 75 70 50 61 74 |cation.l|ookupPat|
|00000320| 68 3a 20 49 6e 76 61 6c | 69 64 20 76 61 6c 75 65 |h: Inval|id value|
|00000330| 20 66 6f 72 20 73 65 61 | 72 63 68 4d 6f 64 65 3a | for sea|rchMode:|
|00000340| 20 27 22 20 2b 20 73 65 | 61 72 63 68 4d 6f 64 65 | '" + se|archMode|
|00000350| 20 2b 20 22 27 22 29 0d | 09 63 61 73 65 20 73 74 | + "'").|.case st|
|00000360| 72 69 6e 67 2e 75 70 70 | 65 72 28 73 65 61 72 63 |ring.upp|er(searc|
|00000370| 68 41 6e 64 4f 72 29 0d | 09 09 22 41 4e 44 22 0d |hAndOr).|.."AND".|
|00000380| 09 09 09 70 61 72 61 6d | 73 2e 62 6f 6f 6c 20 3d |...param|s.bool =|
|00000390| 20 30 0d 09 09 22 4f 52 | 22 0d 09 09 09 70 61 72 | 0..."OR|"....par|
|000003a0| 61 6d 73 2e 62 6f 6f 6c | 20 3d 20 31 0d 09 09 22 |ams.bool| = 1..."|
|000003b0| 22 0d 09 09 09 0d 09 65 | 6c 73 65 0d 09 09 73 63 |"......e|lse...sc|
|000003c0| 72 69 70 74 45 72 72 6f | 72 28 22 4f 6e 4c 6f 63 |riptErro|r("OnLoc|
|000003d0| 61 74 69 6f 6e 2e 6c 6f | 6f 6b 75 70 50 61 74 68 |ation.lo|okupPath|
|000003e0| 3a 20 49 6e 76 61 6c 69 | 64 20 76 61 6c 75 65 20 |: Invali|d value |
|000003f0| 66 6f 72 20 73 65 61 72 | 63 68 41 6e 64 4f 72 3a |for sear|chAndOr:|
|00000400| 20 27 22 20 2b 20 73 65 | 61 72 63 68 41 6e 64 4f | '" + se|archAndO|
|00000410| 72 20 2b 20 22 27 22 29 | 0d 09 70 61 72 61 6d 73 |r + "'")|..params|
|00000420| 2e 72 65 74 77 20 3d 20 | 33 20 c7 20 46 69 6c 65 |.retw = |3 . File|
|00000430| 20 6e 61 6d 65 20 61 6e | 64 20 70 61 74 68 20 74 | name an|d path t|
|00000440| 6f 20 69 74 20 6f 6e 6c | 79 0d 09 69 66 20 6e 6f |o it onl|y..if no|
|00000450| 74 20 74 61 62 6c 65 45 | 76 65 6e 74 28 40 70 61 |t tableE|vent(@pa|
|00000460| 72 61 6d 73 2c 40 72 65 | 73 75 6c 74 2c 4f 6e 4c |rams,@re|sult,OnL|
|00000470| 6f 63 61 74 69 6f 6e 2e | 69 64 2c 27 4f 4e 4c 43 |ocation.|id,'ONLC|
|00000480| 27 2c 27 71 75 72 79 27 | 29 0d 09 09 73 63 72 69 |','qury'|)...scri|
|00000490| 70 74 45 72 72 6f 72 28 | 22 4f 6e 4c 6f 63 61 74 |ptError(|"OnLocat|
|000004a0| 69 6f 6e 2e 6c 6f 6f 6b | 75 70 50 61 74 68 3a 20 |ion.look|upPath: |
|000004b0| 55 6e 61 62 6c 65 20 74 | 6f 20 73 65 6e 64 20 71 |Unable t|o send q|
|000004c0| 75 65 72 79 20 72 65 71 | 75 65 73 74 20 74 6f 20 |uery req|uest to |
|000004d0| 4f 6e 4c 6f 63 61 74 69 | 6f 6e 22 29 0d 09 69 66 |OnLocati|on")..if|
|000004e0| 20 6e 6f 74 20 6e 65 77 | 28 74 61 62 6c 65 54 79 | not new|(tableTy|
|000004f0| 70 65 2c 40 77 68 65 72 | 65 5e 29 0d 09 09 73 63 |pe,@wher|e^)...sc|
|00000500| 72 69 70 74 45 72 72 6f | 72 28 22 55 6e 61 62 6c |riptErro|r("Unabl|
|00000510| 65 20 74 6f 20 63 72 65 | 61 74 65 20 72 65 73 75 |e to cre|ate resu|
|00000520| 6c 74 20 74 61 62 6c 65 | 20 69 6e 20 4f 6e 4c 6f |lt table| in OnLo|
|00000530| 63 61 74 69 6f 6e 2e 6c | 6f 6f 6b 75 70 50 61 74 |cation.l|ookupPat|
|00000540| 68 22 29 0d 09 66 6f 72 | 20 69 20 3d 20 31 20 74 |h")..for| i = 1 t|
|00000550| 6f 20 72 65 73 75 6c 74 | 2e 6e 72 65 74 0d 09 09 |o result|.nret...|
|00000560| 62 75 6e 64 6c 65 20 c7 | 20 47 65 6e 65 72 61 74 |bundle .| Generat|
|00000570| 65 20 61 20 6e 61 6d 65 | 20 74 68 61 74 20 69 73 |e a name| that is|
|00000580| 20 61 6c 77 61 79 73 20 | 22 66 69 6c 65 6e 6e 6e | always |"filennn|
|00000590| 22 20 73 6f 20 69 74 20 | 73 6f 72 74 73 20 72 69 |" so it |sorts ri|
|000005a0| 67 68 74 2e 0d 09 09 09 | 69 66 20 69 3c 31 30 0d |ght.....|if i<10.|
|000005b0| 09 09 09 09 6c 6f 63 20 | 3d 20 40 77 68 65 72 65 |....loc |= @where|
|000005c0| 5e 5b 22 66 69 6c 65 30 | 30 22 2b 69 5d 0d 09 09 |^["file0|0"+i]...|
|000005d0| 09 65 6c 73 65 0d 09 09 | 09 09 69 66 20 69 3c 31 |.else...|..if i<1|
|000005e0| 30 30 0d 09 09 09 09 09 | 6c 6f 63 20 3d 20 40 77 |00......|loc = @w|
|000005f0| 68 65 72 65 5e 5b 22 66 | 69 6c 65 30 22 2b 69 5d |here^["f|ile0"+i]|
|00000600| 0d 09 09 09 09 65 6c 73 | 65 0d 09 09 09 09 09 6c |.....els|e......l|
|00000610| 6f 63 20 3d 20 40 77 68 | 65 72 65 5e 5b 22 66 69 |oc = @wh|ere^["fi|
|00000620| 6c 65 22 2b 69 5d 0d 09 | 09 69 66 20 6e 6f 74 20 |le"+i]..|.if not |
|00000630| 67 65 74 41 70 70 6c 65 | 4c 69 73 74 49 74 65 6d |getApple|ListItem|
|00000640| 28 72 65 73 75 6c 74 2e | 66 6c 73 74 2c 69 2c 40 |(result.|flst,i,@|
|00000650| 66 69 6c 65 29 0d 09 09 | 09 73 63 72 69 70 74 45 |file)...|.scriptE|
|00000660| 72 72 6f 72 28 22 4f 6e | 4c 6f 63 61 74 69 6f 6e |rror("On|Location|
|00000670| 2e 6c 6f 6f 6b 75 70 50 | 61 74 68 3a 20 55 6e 61 |.lookupP|ath: Una|
|00000680| 62 6c 65 20 74 6f 20 67 | 65 74 20 66 69 6c 65 20 |ble to g|et file |
|00000690| 69 6e 66 6f 72 6d 61 74 | 69 6f 6e 22 20 29 0d 09 |informat|ion" )..|
|000006a0| 09 69 66 20 6e 6f 74 20 | 67 65 74 41 70 70 6c 65 |.if not |getApple|
|000006b0| 4c 69 73 74 49 74 65 6d | 28 66 69 6c 65 2c 27 70 |ListItem|(file,'p|
|000006c0| 61 74 68 27 2c 40 70 61 | 74 68 29 0d 09 09 09 73 |ath',@pa|th)....s|
|000006d0| 63 72 69 70 74 45 72 72 | 6f 72 28 22 4f 6e 4c 6f |criptErr|or("OnLo|
|000006e0| 63 61 74 69 6f 6e 2e 6c | 6f 6f 6b 75 70 50 61 74 |cation.l|ookupPat|
|000006f0| 68 3a 20 55 6e 61 62 6c | 65 20 74 6f 20 67 65 74 |h: Unabl|e to get|
|00000700| 20 66 69 6c 65 20 70 61 | 74 68 22 29 0d 09 09 69 | file pa|th")...i|
|00000710| 66 20 6e 6f 74 20 67 65 | 74 41 70 70 6c 65 4c 69 |f not ge|tAppleLi|
|00000720| 73 74 49 74 65 6d 28 66 | 69 6c 65 2c 27 66 6e 61 |stItem(f|ile,'fna|
|00000730| 6d 27 2c 40 6e 61 6d 65 | 29 0d 09 09 09 73 63 72 |m',@name|)....scr|
|00000740| 69 70 74 45 72 72 6f 72 | 28 22 4f 6e 4c 6f 63 61 |iptError|("OnLoca|
|00000750| 74 69 6f 6e 2e 6c 6f 6f | 6b 75 70 50 61 74 68 3a |tion.loo|kupPath:|
|00000760| 20 55 6e 61 62 6c 65 20 | 74 6f 20 67 65 74 20 66 | Unable |to get f|
|00000770| 69 6c 65 20 6e 61 6d 65 | 22 29 0d 09 09 74 61 62 |ile name|")...tab|
|00000780| 6c 65 2e 61 73 73 69 67 | 6e 28 6c 6f 63 2c 20 70 |le.assig|n(loc, p|
|00000790| 61 74 68 20 2b 20 6e 61 | 6d 65 29 0d 09 72 65 74 |ath + na|me)..ret|
|000007a0| 75 72 6e 20 72 65 73 75 | 6c 74 2e 6e 72 65 74 0d |urn resu|lt.nret.|
|000007b0| 80 00 00 00 00 00 80 00 | 00 00 00 00 80 00 00 00 |........|........|
|000007c0| 00 00 00 00 00 00 00 00 | 80 00 00 00 00 00 80 00 |........|........|
|000007d0| 00 00 00 00 80 00 00 00 | 00 00 80 00 00 00 00 00 |........|........|
|000007e0| 80 00 00 00 00 00 80 00 | 00 00 00 00 80 00 00 00 |........|........|
|000007f0| 00 00 80 00 00 00 00 00 | 00 00 00 00 00 00 80 00 |........|........|
|00000800| 00 00 00 00 80 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000810| 80 00 00 00 00 00 00 00 | 00 00 00 00 80 00 00 00 |........|........|
|00000820| 00 00 00 00 00 00 00 00 | 80 00 00 00 00 00 00 00 |........|........|
|00000830| 00 00 00 00 80 00 00 00 | 00 00 80 00 00 00 00 00 |........|........|
|00000840| 00 00 00 00 00 00 80 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000850| 00 00 80 00 00 00 00 00 | 80 00 00 00 00 00 80 00 |........|........|
|00000860| 00 00 00 00 80 00 00 00 | 00 00 80 00 00 00 00 00 |........|........|
|00000870| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000880| 00 00 00 00 00 00 00 00 | 80 00 00 00 00 00 00 00 |........|........|
|00000890| 00 00 00 00 80 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008a0| 80 00 00 00 00 00 00 00 | 00 00 00 00 80 00 00 00 |........|........|
|000008b0| 00 00 80 00 00 00 00 00 | 0e 44 6f 63 53 65 72 76 |........|.DocServ|
|000008c0| 65 72 20 64 6f 63 73 00 | 00 19 3d 00 01 00 6e 00 |er docs.|..=...n.|
|000008d0| 02 00 00 01 ec 00 00 16 | d5 00 07 02 00 00 0f 06 |........|........|
|000008e0| 47 65 6e 65 76 61 00 00 | 00 00 00 00 00 00 00 00 |Geneva..|........|
|000008f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000900| 00 00 0c 00 00 00 00 00 | 00 00 00 00 00 07 20 00 |........|...... .|
|00000910| 00 a6 9c cf 42 a6 9c f9 | a1 00 00 00 0a 00 00 00 |....B...|........|
|00000920| 42 00 10 02 0e 02 49 00 | 00 00 00 00 00 00 00 00 |B.....I.|........|
|00000930| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000940| 00 00 00 00 00 00 00 4f | 6e 4c 6f 63 61 74 69 6f |.......O|nLocatio|
|00000950| 6e 2e 67 65 74 49 6e 64 | 65 78 4c 69 73 74 0d 09 |n.getInd|exList..|
|00000960| 53 79 6e 74 61 78 0d 09 | 09 4f 6e 4c 6f 63 61 74 |Syntax..|.OnLocat|
|00000970| 69 6f 6e 2e 67 65 74 49 | 6e 64 65 78 4c 69 73 74 |ion.getI|ndexList|
|00000980| 28 77 68 65 72 65 29 0d | 09 50 61 72 61 6d 65 74 |(where).|.Paramet|
|00000990| 65 72 73 0d 09 09 77 68 | 65 72 65 20 69 73 20 74 |ers...wh|ere is t|
|000009a0| 68 65 20 61 64 64 72 65 | 73 73 20 6f 66 20 61 20 |he addre|ss of a |
|000009b0| 74 61 62 6c 65 20 69 6e | 74 6f 20 77 68 69 63 68 |table in|to which|
|000009c0| 20 74 68 65 20 6c 69 73 | 74 20 6f 66 20 4f 6e 4c | the lis|t of OnL|
|000009d0| 6f 63 61 74 69 6f 6e 20 | 69 6e 64 65 78 65 73 20 |ocation |indexes |
|000009e0| 77 69 6c 6c 20 62 65 20 | 70 6c 61 63 65 64 2e 20 |will be |placed. |
|000009f0| 54 68 65 20 70 61 74 68 | 20 74 6f 20 74 68 69 73 |The path| to this|
|00000a00| 20 74 61 62 6c 65 20 6d | 75 73 74 20 61 6c 72 65 | table m|ust alre|
|00000a10| 61 64 79 20 65 78 69 73 | 74 2e 0d 09 41 63 74 69 |ady exis|t...Acti|
|00000a20| 6f 6e 0d 09 09 42 75 69 | 6c 64 73 20 61 20 74 61 |on...Bui|lds a ta|
|00000a30| 62 6c 65 20 63 6f 6e 74 | 61 69 6e 69 6e 67 20 74 |ble cont|aining t|
|00000a40| 68 65 20 66 75 6c 6c 20 | 70 61 74 68 20 6e 61 6d |he full |path nam|
|00000a50| 65 20 6f 66 20 65 61 63 | 68 20 69 6e 64 65 78 20 |e of eac|h index |
|00000a60| 6b 6e 6f 77 6e 20 74 6f | 20 4f 6e 4c 6f 63 61 74 |known to| OnLocat|
|00000a70| 69 6f 6e 2e 0d 09 52 65 | 74 75 72 6e 73 0d 09 09 |ion...Re|turns...|
|00000a80| 54 68 65 20 6e 75 6d 62 | 65 72 20 6f 66 20 69 6e |The numb|er of in|
|00000a90| 64 65 78 65 73 20 66 6f | 75 6e 64 2e 0d 09 45 78 |dexes fo|und...Ex|
|00000aa0| 61 6d 70 6c 65 73 0d 09 | 09 4f 6e 4c 6f 63 61 74 |amples..|.OnLocat|
|00000ab0| 69 6f 6e 2e 67 65 74 49 | 6e 64 65 78 4c 69 73 74 |ion.getI|ndexList|
|00000ac0| 28 40 53 63 72 61 74 63 | 68 50 61 64 2e 49 6e 64 |(@Scratc|hPad.Ind|
|00000ad0| 65 78 65 73 29 0d 09 09 | 09 31 36 20 c7 20 50 75 |exes)...|.16 . Pu|
|00000ae0| 74 73 20 61 20 74 61 62 | 6c 65 20 63 6f 6e 74 61 |ts a tab|le conta|
|00000af0| 69 6e 69 6e 67 20 74 68 | 65 20 70 61 74 68 20 74 |ining th|e path t|
|00000b00| 6f 20 65 61 63 68 20 4f | 6e 4c 6f 63 61 74 69 6f |o each O|nLocatio|
|00000b10| 6e 20 69 6e 64 65 78 20 | 61 74 20 53 63 72 61 74 |n index |at Scrat|
|00000b20| 63 68 50 61 64 2e 49 6e | 64 65 78 65 73 0d 09 4e |chPad.In|dexes..N|
|00000b30| 6f 74 65 73 0d 09 09 41 | 6c 6c 20 69 6e 64 65 78 |otes...A|ll index|
|00000b40| 65 73 20 6b 6e 6f 77 6e | 20 74 6f 20 4f 6e 4c 6f |es known| to OnLo|
|00000b50| 63 61 74 69 6f 6e 20 61 | 72 65 20 72 65 74 75 72 |cation a|re retur|
|00000b60| 6e 65 64 2c 20 72 65 67 | 61 72 64 6c 65 73 73 20 |ned, reg|ardless |
|00000b70| 6f 66 20 77 68 65 74 68 | 65 72 20 74 68 65 79 20 |of wheth|er they |
|00000b80| 61 72 65 20 63 75 72 72 | 65 6e 74 6c 79 20 73 65 |are curr|ently se|
|00000b90| 6c 65 63 74 65 64 2e 0d | 4f 6e 4c 6f 63 61 74 69 |lected..|OnLocati|
|00000ba0| 6f 6e 2e 6c 6f 6f 6b 75 | 70 50 61 74 68 0d 09 53 |on.looku|pPath..S|
|00000bb0| 79 6e 74 61 78 0d 09 09 | 4f 6e 4c 6f 63 61 74 69 |yntax...|OnLocati|
|00000bc0| 6f 6e 2e 6c 6f 6f 6b 75 | 70 50 61 74 68 28 77 68 |on.looku|pPath(wh|
|00000bd0| 65 72 65 2c 20 69 6e 64 | 65 78 2c 20 73 65 61 72 |ere, ind|ex, sear|
|00000be0| 63 68 4d 6f 64 65 2c 20 | 73 65 61 72 63 68 53 74 |chMode, |searchSt|
|00000bf0| 72 69 6e 67 2c 20 73 65 | 61 72 63 68 41 6e 64 4f |ring, se|archAndO|
|00000c00| 72 29 0d 09 50 61 72 61 | 6d 65 74 65 72 73 0d 09 |r)..Para|meters..|
|00000c10| 09 77 68 65 72 65 20 69 | 73 20 74 68 65 20 61 64 |.where i|s the ad|
|00000c20| 64 72 65 73 73 20 6f 66 | 20 61 20 74 61 62 6c 65 |dress of| a table|
|00000c30| 20 69 6e 74 6f 20 77 68 | 69 63 68 20 74 68 65 20 | into wh|ich the |
|00000c40| 70 61 74 68 20 74 6f 20 | 65 61 63 68 20 66 69 6c |path to |each fil|
|00000c50| 65 20 66 6f 75 6e 64 20 | 77 69 6c 6c 20 62 65 20 |e found |will be |
|00000c60| 70 6c 61 63 65 64 2e 20 | 20 54 68 65 20 70 61 74 |placed. | The pat|
|00000c70| 68 20 74 6f 20 74 68 69 | 73 20 74 61 62 6c 65 20 |h to thi|s table |
|00000c80| 6d 75 73 74 20 61 6c 72 | 65 61 64 79 20 65 78 69 |must alr|eady exi|
|00000c90| 73 74 2e 0d 09 09 69 6e | 64 65 78 20 69 73 20 74 |st....in|dex is t|
|00000ca0| 68 65 20 66 75 6c 6c 20 | 70 61 74 68 20 74 6f 20 |he full |path to |
|00000cb0| 61 6e 20 4f 6e 4c 6f 63 | 61 74 69 6f 6e 20 69 6e |an OnLoc|ation in|
|00000cc0| 64 65 78 2e 20 20 49 66 | 20 69 74 20 69 73 20 61 |dex. If| it is a|
|00000cd0| 20 6e 75 6c 6c 20 73 74 | 72 69 6e 67 2c 20 61 6c | null st|ring, al|
|00000ce0| 6c 20 69 6e 64 65 78 65 | 73 20 6b 6e 6f 77 6e 20 |l indexe|s known |
|00000cf0| 74 6f 20 4f 6e 4c 6f 63 | 61 74 69 6f 6e 20 77 69 |to OnLoc|ation wi|
|00000d00| 6c 6c 20 62 65 20 73 65 | 61 72 63 68 65 64 2e 0d |ll be se|arched..|
|00000d10| 09 09 73 65 61 72 63 68 | 4d 6f 64 65 20 69 73 20 |..search|Mode is |
|00000d20| 74 68 65 20 6d 6f 64 65 | 20 6f 66 20 74 68 65 20 |the mode| of the |
|00000d30| 73 65 61 72 63 68 2e 20 | 20 54 68 65 20 76 61 6c |search. | The val|
|00000d40| 69 64 20 76 61 6c 75 65 | 73 20 66 6f 72 20 74 68 |id value|s for th|
|00000d50| 69 73 20 61 72 65 20 4e | 61 6d 65 43 6f 6e 74 61 |is are N|ameConta|
|00000d60| 69 6e 73 2c 20 4e 61 6d | 65 45 6e 64 73 57 69 74 |ins, Nam|eEndsWit|
|00000d70| 68 2c 20 4e 61 6d 65 45 | 78 61 63 74 6c 79 2c 20 |h, NameE|xactly, |
|00000d80| 4e 61 6d 65 53 74 61 72 | 74 73 57 69 74 68 2c 20 |NameStar|tsWith, |
|00000d90| 54 65 78 74 45 78 61 63 | 74 6c 79 2c 20 61 6e 64 |TextExac|tly, and|
|00000da0| 20 54 65 78 74 52 6f 6f | 74 2e 20 20 49 66 20 69 | TextRoo|t. If i|
|00000db0| 74 20 69 73 20 6e 75 6c | 6c 2c 20 4e 61 6d 65 43 |t is nul|l, NameC|
|00000dc0| 6f 6e 74 61 69 6e 73 20 | 69 73 20 61 73 73 75 6d |ontains |is assum|
|00000dd0| 65 64 2e 0d 09 09 73 65 | 61 72 63 68 53 74 72 69 |ed....se|archStri|
|00000de0| 6e 67 20 69 73 20 74 68 | 65 20 73 74 72 69 6e 67 |ng is th|e string|
|00000df0| 20 74 6f 20 73 65 61 72 | 63 68 20 66 6f 72 2e 0d | to sear|ch for..|
|00000e00| 09 09 73 65 61 72 63 68 | 41 6e 64 4f 72 20 69 73 |..search|AndOr is|
|00000e10| 20 22 41 6e 64 22 20 6f | 72 20 22 4f 72 22 20 74 | "And" o|r "Or" t|
|00000e20| 6f 20 69 6e 64 69 63 61 | 74 65 20 77 68 65 74 68 |o indica|te wheth|
|00000e30| 65 72 20 74 68 69 73 20 | 69 73 20 61 6e 20 22 61 |er this |is an "a|
|00000e40| 6e 64 22 20 6f 72 20 61 | 6e 20 22 6f 72 22 20 73 |nd" or a|n "or" s|
|00000e50| 65 61 72 63 68 2e 20 20 | 49 74 20 69 73 20 69 67 |earch. |It is ig|
|00000e60| 6e 6f 72 65 64 20 75 6e | 6c 65 73 73 20 73 65 61 |nored un|less sea|
|00000e70| 72 63 68 4d 6f 64 65 20 | 69 73 20 65 69 74 68 65 |rchMode |is eithe|
|00000e80| 72 20 54 65 78 74 45 78 | 61 63 74 6c 79 20 6f 72 |r TextEx|actly or|
|00000e90| 20 54 65 78 74 52 6f 6f | 74 2e 0d 09 41 63 74 69 | TextRoo|t...Acti|
|00000ea0| 6f 6e 0d 09 09 54 68 65 | 20 73 70 65 63 69 66 69 |on...The| specifi|
|00000eb0| 65 64 20 4f 6e 4c 6f 63 | 61 74 69 6f 6e 20 69 6e |ed OnLoc|ation in|
|00000ec0| 64 65 78 20 69 73 20 73 | 65 61 72 63 68 65 64 20 |dex is s|earched |
|00000ed0| 28 6f 72 20 61 6c 6c 20 | 69 6e 64 65 78 65 73 20 |(or all |indexes |
|00000ee0| 61 72 65 20 73 65 61 72 | 63 68 65 64 29 20 61 6e |are sear|ched) an|
|00000ef0| 64 20 74 68 65 20 70 61 | 74 68 20 6e 61 6d 65 20 |d the pa|th name |
|00000f00| 6f 66 20 65 61 63 68 20 | 66 69 6c 65 20 6d 61 74 |of each |file mat|
|00000f10| 63 68 69 6e 67 20 74 68 | 65 20 73 65 61 72 63 68 |ching th|e search|
|00000f20| 20 63 72 69 74 65 72 69 | 61 20 69 73 20 70 6c 61 | criteri|a is pla|
|00000f30| 63 65 64 20 69 6e 20 61 | 20 74 61 62 6c 65 20 61 |ced in a| table a|
|00000f40| 74 20 22 77 68 65 72 65 | 22 2e 0d 09 52 65 74 75 |t "where|"...Retu|
|00000f50| 72 6e 73 0d 09 09 54 68 | 65 20 6e 75 6d 62 65 72 |rns...Th|e number|
|00000f60| 20 6f 66 20 66 69 6c 65 | 73 20 66 6f 75 6e 64 2e | of file|s found.|
|00000f70| 0d 09 45 78 61 6d 70 6c | 65 73 0d 09 09 4f 6e 4c |..Exampl|es...OnL|
|00000f80| 6f 63 61 74 69 6f 6e 2e | 6c 6f 6f 6b 75 70 50 61 |ocation.|lookupPa|
|00000f90| 74 68 28 40 53 63 72 61 | 74 63 68 50 61 64 2e 41 |th(@Scra|tchPad.A|
|00000fa0| 6e 73 77 65 72 2c 20 22 | 22 2c 20 22 4e 61 6d 65 |nswer, "|", "Name|
|00000fb0| 43 6f 6e 74 61 69 6e 73 | 22 2c 20 22 44 6f 63 53 |Contains|", "DocS|
|00000fc0| 65 72 76 65 72 22 2c 20 | 22 22 29 0d 09 09 09 31 |erver", |"")....1|
|00000fd0| 38 20 c7 20 41 20 74 61 | 62 6c 65 20 69 73 20 62 |8 . A ta|ble is b|
|00000fe0| 75 69 6c 74 20 61 74 20 | 22 53 63 72 61 74 63 68 |uilt at |"Scratch|
|00000ff0| 50 61 64 2e 41 6e 73 77 | 65 72 22 20 63 6f 6e 74 |Pad.Answ|er" cont|
|00001000| 61 69 6e 69 6e 67 20 74 | 68 65 20 70 61 74 68 20 |aining t|he path |
|00001010| 74 6f 20 65 61 63 68 20 | 66 69 6c 65 20 77 69 74 |to each |file wit|
|00001020| 68 20 22 44 6f 63 53 65 | 72 76 65 72 22 20 69 6e |h "DocSe|rver" in|
|00001030| 20 69 74 73 20 6e 61 6d | 65 2e 20 20 41 6c 6c 20 | its nam|e. All |
|00001040| 69 6e 64 65 78 65 73 20 | 61 72 65 20 73 65 61 72 |indexes |are sear|
|00001050| 63 68 65 64 2e 0d 09 4e | 6f 74 65 73 0d 09 09 54 |ched...N|otes...T|
|00001060| 68 65 72 65 20 73 65 65 | 6d 73 20 74 6f 20 62 65 |here see|ms to be|
|00001070| 20 61 20 62 75 67 20 69 | 6e 20 4f 6e 4c 6f 63 61 | a bug i|n OnLoca|
|00001080| 74 69 6f 6e 20 76 65 72 | 73 69 6f 6e 20 31 2e 30 |tion ver|sion 1.0|
|00001090| 20 77 68 69 63 68 20 6d | 61 6b 65 73 20 73 6f 6d | which m|akes som|
|000010a0| 65 20 6f 66 20 74 68 65 | 20 73 65 61 72 63 68 20 |e of the| search |
|000010b0| 6d 6f 64 65 73 20 66 61 | 69 6c 20 74 6f 20 66 69 |modes fa|il to fi|
|000010c0| 6e 64 20 61 6e 79 20 66 | 69 6c 65 73 2e 0d 09 09 |nd any f|iles....|
|000010d0| 54 68 65 20 69 6e 64 65 | 78 20 70 61 73 73 65 64 |The inde|x passed|
|000010e0| 20 69 6e 20 74 68 65 20 | 73 65 63 6f 6e 64 20 70 | in the |second p|
|000010f0| 61 72 61 6d 65 74 65 72 | 20 63 61 6e 20 62 65 20 |arameter| can be |
|00001100| 61 6e 79 77 68 65 72 65 | 2c 20 69 74 20 64 6f 65 |anywhere|, it doe|
|00001110| 73 20 6e 6f 74 20 6e 65 | 65 64 20 74 6f 20 62 65 |s not ne|ed to be|
|00001120| 20 6f 6e 65 20 6b 6e 6f | 77 6e 20 74 6f 20 4f 6e | one kno|wn to On|
|00001130| 4c 6f 63 61 74 69 6f 6e | 2e 0d 09 09 54 68 69 73 |Location|....This|
|00001140| 20 69 73 20 63 6f 6e 73 | 69 64 65 72 61 62 6c 79 | is cons|iderably|
|00001150| 20 66 61 73 74 65 72 20 | 74 68 61 6e 20 4f 6e 4c | faster |than OnL|
|00001160| 6f 63 61 74 69 6f 6e 2e | 6c 6f 6f 6b 75 70 49 6e |ocation.|lookupIn|
|00001170| 66 6f 2c 20 61 6e 64 20 | 73 68 6f 75 6c 64 20 62 |fo, and |should b|
|00001180| 65 20 75 73 65 64 20 69 | 66 20 61 6c 6c 20 74 68 |e used i|f all th|
|00001190| 61 74 20 69 73 20 6e 65 | 65 64 65 64 20 69 73 20 |at is ne|eded is |
|000011a0| 74 68 65 20 70 61 74 68 | 2e 0d 09 09 41 20 76 65 |the path|....A ve|
|000011b0| 72 79 20 67 65 6e 65 72 | 61 6c 20 73 65 61 72 63 |ry gener|al searc|
|000011c0| 68 20 77 69 6c 6c 20 6c | 69 6b 65 6c 79 20 63 61 |h will l|ikely ca|
|000011d0| 75 73 65 20 65 69 74 68 | 65 72 20 4f 6e 4c 6f 63 |use eith|er OnLoc|
|000011e0| 61 74 69 6f 6e 20 6f 72 | 20 46 72 6f 6e 74 69 65 |ation or| Frontie|
|000011f0| 72 20 74 6f 20 72 75 6e | 20 6f 75 74 20 6f 66 20 |r to run| out of |
|00001200| 6d 65 6d 6f 72 79 2e 20 | 20 53 75 63 68 20 73 65 |memory. | Such se|
|00001210| 61 72 63 68 65 73 20 73 | 68 6f 75 6c 64 20 62 65 |arches s|hould be|
|00001220| 20 64 6f 6e 65 20 75 73 | 69 6e 67 20 4f 6e 4c 6f | done us|ing OnLo|
|00001230| 63 61 74 69 6f 6e 2e 6c | 6f 6f 6b 75 70 49 6e 66 |cation.l|ookupInf|
|00001240| 6f 2e 0d 09 53 65 65 20 | 41 6c 73 6f 0d 09 09 4f |o...See |Also...O|
|00001250| 6e 4c 6f 63 61 74 69 6f | 6e 2e 6c 6f 6f 6b 75 70 |nLocatio|n.lookup|
|00001260| 49 6e 66 6f 0d 4f 6e 4c | 6f 63 61 74 69 6f 6e 2e |Info.OnL|ocation.|
|00001270| 6c 6f 6f 6b 75 70 49 6e | 66 6f 0d 09 53 79 6e 74 |lookupIn|fo..Synt|
|00001280| 61 78 0d 09 09 4f 6e 4c | 6f 63 61 74 69 6f 6e 2e |ax...OnL|ocation.|
|00001290| 6c 6f 6f 6b 75 70 50 61 | 74 68 28 77 68 65 72 65 |lookupPa|th(where|
|000012a0| 2c 20 69 6e 64 65 78 2c | 20 73 65 61 72 63 68 4d |, index,| searchM|
|000012b0| 6f 64 65 2c 20 73 65 61 | 72 63 68 53 74 72 69 6e |ode, sea|rchStrin|
|000012c0| 67 2c 20 73 65 61 72 63 | 68 41 6e 64 4f 72 2c 20 |g, searc|hAndOr, |
|000012d0| 66 69 6c 65 43 6f 75 6e | 74 2c 20 74 69 6d 65 4f |fileCoun|t, timeO|
|000012e0| 75 74 2c 20 73 74 61 72 | 74 50 6f 73 69 74 69 6f |ut, star|tPositio|
|000012f0| 6e 29 0d 09 50 61 72 61 | 6d 65 74 65 72 73 0d 09 |n)..Para|meters..|
|00001300| 09 77 68 65 72 65 20 69 | 73 20 74 68 65 20 61 64 |.where i|s the ad|
|00001310| 64 72 65 73 73 20 6f 66 | 20 61 20 74 61 62 6c 65 |dress of| a table|
|00001320| 20 69 6e 74 6f 20 77 68 | 69 63 68 20 69 6e 66 6f | into wh|ich info|
|00001330| 72 6d 61 74 69 6f 6e 20 | 61 62 6f 75 74 20 65 61 |rmation |about ea|
|00001340| 63 68 20 66 69 6c 65 20 | 66 6f 75 6e 64 20 77 69 |ch file |found wi|
|00001350| 6c 6c 20 62 65 20 70 6c | 61 63 65 64 2e 20 20 54 |ll be pl|aced. T|
|00001360| 68 65 20 70 61 74 68 20 | 74 6f 20 74 68 69 73 20 |he path |to this |
|00001370| 74 61 62 6c 65 20 6d 75 | 73 74 20 61 6c 72 65 61 |table mu|st alrea|
|00001380| 64 79 20 65 78 69 73 74 | 2e 0d 09 09 69 6e 64 65 |dy exist|....inde|
|00001390| 78 20 69 73 20 74 68 65 | 20 66 75 6c 6c 20 70 61 |x is the| full pa|
|000013a0| 74 68 20 74 6f 20 61 6e | 20 4f 6e 4c 6f 63 61 74 |th to an| OnLocat|
|000013b0| 69 6f 6e 20 69 6e 64 65 | 78 2e 20 20 49 66 20 69 |ion inde|x. If i|
|000013c0| 74 20 69 73 20 61 20 6e | 75 6c 6c 20 73 74 72 69 |t is a n|ull stri|
|000013d0| 6e 67 2c 20 61 6c 6c 20 | 69 6e 64 65 78 65 73 20 |ng, all |indexes |
|000013e0| 6b 6e 6f 77 6e 20 74 6f | 20 4f 6e 4c 6f 63 61 74 |known to| OnLocat|
|000013f0| 69 6f 6e 20 77 69 6c 6c | 20 62 65 20 73 65 61 72 |ion will| be sear|
|00001400| 63 68 65 64 2e 0d 09 09 | 73 65 61 72 63 68 4d 6f |ched....|searchMo|
|00001410| 64 65 20 69 73 20 74 68 | 65 20 6d 6f 64 65 20 6f |de is th|e mode o|
|00001420| 66 20 74 68 65 20 73 65 | 61 72 63 68 2e 20 20 54 |f the se|arch. T|
|00001430| 68 65 20 76 61 6c 69 64 | 20 76 61 6c 75 65 73 20 |he valid| values |
|00001440| 66 6f 72 20 74 68 69 73 | 20 61 72 65 20 4e 61 6d |for this| are Nam|
|00001450| 65 43 6f 6e 74 61 69 6e | 73 2c 20 4e 61 6d 65 45 |eContain|s, NameE|
|00001460| 6e 64 73 57 69 74 68 2c | 20 4e 61 6d 65 45 78 61 |ndsWith,| NameExa|
|00001470| 63 74 6c 79 2c 20 4e 61 | 6d 65 53 74 61 72 74 73 |ctly, Na|meStarts|
|00001480| 57 69 74 68 2c 20 54 65 | 78 74 45 78 61 63 74 6c |With, Te|xtExactl|
|00001490| 79 2c 20 61 6e 64 20 54 | 65 78 74 52 6f 6f 74 2e |y, and T|extRoot.|
|000014a0| 20 20 49 66 20 69 74 20 | 69 73 20 6e 75 6c 6c 2c | If it |is null,|
|000014b0| 20 4e 61 6d 65 43 6f 6e | 74 61 69 6e 73 20 69 73 | NameCon|tains is|
|000014c0| 20 61 73 73 75 6d 65 64 | 2e 0d 09 09 73 65 61 72 | assumed|....sear|
|000014d0| 63 68 53 74 72 69 6e 67 | 20 69 73 20 74 68 65 20 |chString| is the |
|000014e0| 73 74 72 69 6e 67 20 74 | 6f 20 73 65 61 72 63 68 |string t|o search|
|000014f0| 20 66 6f 72 2e 0d 09 09 | 73 65 61 72 63 68 41 6e | for....|searchAn|
|00001500| 64 4f 72 20 69 73 20 22 | 41 6e 64 22 20 6f 72 20 |dOr is "|And" or |
|00001510| 22 4f 72 22 20 74 6f 20 | 69 6e 64 69 63 61 74 65 |"Or" to |indicate|
|00001520| 20 77 68 65 74 68 65 72 | 20 74 68 69 73 20 69 73 | whether| this is|
|00001530| 20 61 6e 20 22 61 6e 64 | 22 20 6f 72 20 61 6e 20 | an "and|" or an |
|00001540| 22 6f 72 22 20 73 65 61 | 72 63 68 2e 20 20 49 74 |"or" sea|rch. It|
|00001550| 20 69 73 20 69 67 6e 6f | 72 65 64 20 75 6e 6c 65 | is igno|red unle|
|00001560| 73 73 20 73 65 61 72 63 | 68 4d 6f 64 65 20 69 73 |ss searc|hMode is|
|00001570| 20 65 69 74 68 65 72 20 | 54 65 78 74 45 78 61 63 | either |TextExac|
|00001580| 74 6c 79 20 6f 72 20 54 | 65 78 74 52 6f 6f 74 2e |tly or T|extRoot.|
|00001590| 0d 09 09 66 69 6c 65 43 | 6f 75 6e 74 20 69 73 20 |...fileC|ount is |
|000015a0| 74 68 65 20 6d 61 78 69 | 6d 75 6d 20 6e 75 6d 62 |the maxi|mum numb|
|000015b0| 65 72 20 6f 66 20 66 69 | 6c 65 73 20 74 6f 20 72 |er of fi|les to r|
|000015c0| 65 74 75 72 6e 2e 20 20 | 49 66 20 69 74 20 69 73 |eturn. |If it is|
|000015d0| 20 30 20 74 68 65 72 65 | 20 69 73 20 6e 6f 20 6c | 0 there| is no l|
|000015e0| 69 6d 69 74 2e 0d 09 09 | 74 69 6d 65 4f 75 74 20 |imit....|timeOut |
|000015f0| 69 73 20 74 68 65 20 6d | 61 78 69 6d 75 6d 20 74 |is the m|aximum t|
|00001600| 69 6d 65 20 74 68 65 20 | 73 65 61 72 63 68 20 6d |ime the |search m|
|00001610| 61 79 20 74 61 6b 65 20 | 69 6e 20 36 30 74 68 73 |ay take |in 60ths|
|00001620| 20 6f 66 20 61 20 73 65 | 63 6f 6e 64 2e 20 20 49 | of a se|cond. I|
|00001630| 66 20 69 74 20 69 73 20 | 30 20 74 68 65 72 65 20 |f it is |0 there |
|00001640| 69 73 20 6e 6f 20 6c 69 | 6d 69 74 2e 0d 09 09 73 |is no li|mit....s|
|00001650| 74 61 72 74 50 6f 73 69 | 74 69 6f 6e 20 69 73 20 |tartPosi|tion is |
|00001660| 74 68 65 20 70 6f 73 74 | 69 74 69 6f 6e 20 69 6e |the post|ition in|
|00001670| 20 74 68 65 20 69 6e 64 | 65 78 20 74 6f 20 73 74 | the ind|ex to st|
|00001680| 61 72 74 20 73 65 61 72 | 63 68 69 6e 67 20 61 74 |art sear|ching at|
|00001690| 2c 20 30 20 6d 65 61 6e | 73 20 74 6f 20 73 74 61 |, 0 mean|s to sta|
|000016a0| 72 74 20 61 74 20 74 68 | 65 20 62 65 67 69 6e 6e |rt at th|e beginn|
|000016b0| 69 6e 67 2e 20 20 49 74 | 20 69 73 20 69 67 6e 6f |ing. It| is igno|
|000016c0| 72 65 64 20 69 66 20 74 | 68 65 20 69 6e 64 65 78 |red if t|he index|
|000016d0| 20 70 61 72 61 6d 65 74 | 65 72 20 69 73 20 6e 75 | paramet|er is nu|
|000016e0| 6c 6c 2e 0d 09 41 63 74 | 69 6f 6e 0d 09 09 54 68 |ll...Act|ion...Th|
|000016f0| 65 20 73 70 65 63 69 66 | 69 65 64 20 4f 6e 4c 6f |e specif|ied OnLo|
|00001700| 63 61 74 69 6f 6e 20 69 | 6e 64 65 78 20 69 73 20 |cation i|ndex is |
|00001710| 73 65 61 72 63 68 65 64 | 20 28 6f 72 20 61 6c 6c |searched| (or all|
|00001720| 20 69 6e 64 65 78 65 73 | 20 61 72 65 20 73 65 61 | indexes| are sea|
|00001730| 72 63 68 65 64 29 20 61 | 6e 64 20 69 6e 66 6f 72 |rched) a|nd infor|
|00001740| 6d 61 74 69 6f 6e 20 61 | 62 6f 75 74 20 65 61 63 |mation a|bout eac|
|00001750| 68 20 66 69 6c 65 20 6d | 61 74 63 68 69 6e 67 20 |h file m|atching |
|00001760| 74 68 65 20 73 65 61 72 | 63 68 20 63 72 69 74 65 |the sear|ch crite|
|00001770| 72 69 61 20 69 73 20 70 | 6c 61 63 65 64 20 69 6e |ria is p|laced in|
|00001780| 20 61 20 74 61 62 6c 65 | 20 61 74 20 22 77 68 65 | a table| at "whe|
|00001790| 72 65 22 2e 0d 09 09 0d | 09 09 54 68 65 20 74 61 |re".....|..The ta|
|000017a0| 62 6c 65 20 63 72 65 61 | 74 65 64 20 68 61 73 20 |ble crea|ted has |
|000017b0| 74 68 72 65 65 20 65 6e | 74 72 69 65 73 3a 0d 09 |three en|tries:..|
|000017c0| 09 77 68 65 72 65 5e 2e | 66 69 6c 65 43 6f 75 6e |.where^.|fileCoun|
|000017d0| 74 20 69 73 20 74 68 65 | 20 63 6f 75 6e 74 20 6f |t is the| count o|
|000017e0| 66 20 74 68 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 |f the nu|mber of |
|000017f0| 66 69 6c 65 73 20 72 65 | 74 75 72 6e 65 64 0d 09 |files re|turned..|
|00001800| 09 77 68 65 72 65 5e 2e | 65 6e 64 50 6f 73 69 74 |.where^.|endPosit|
|00001810| 69 6f 6e 20 69 73 20 74 | 68 65 20 65 6e 64 69 6e |ion is t|he endin|
|00001820| 67 20 70 6f 73 69 74 69 | 6f 6e 20 6f 66 20 74 68 |g positi|on of th|
|00001830| 65 20 73 65 61 72 63 68 | 2e 20 20 54 68 69 73 20 |e search|. This |
|00001840| 63 61 6e 20 62 65 20 70 | 61 73 73 65 64 20 69 6e |can be p|assed in|
|00001850| 20 74 68 65 20 73 74 61 | 72 74 50 6f 73 69 74 69 | the sta|rtPositi|
|00001860| 6f 6e 20 6f 66 20 61 20 | 73 75 62 73 65 71 75 65 |on of a |subseque|
|00001870| 6e 74 20 63 61 6c 6c 20 | 74 6f 20 6c 6f 6f 6b 75 |nt call |to looku|
|00001880| 70 49 6e 66 6f 20 74 6f | 20 63 6f 6e 74 69 6e 75 |pInfo to| continu|
|00001890| 65 20 61 20 73 65 61 72 | 63 68 20 74 68 61 74 20 |e a sear|ch that |
|000018a0| 64 69 64 20 6e 6f 74 20 | 63 6f 6d 70 6c 65 74 65 |did not |complete|
|000018b0| 2e 0d 09 09 77 68 65 72 | 65 5e 2e 66 69 6c 65 4c |....wher|e^.fileL|
|000018c0| 69 73 74 20 69 73 20 61 | 20 74 61 62 6c 65 20 77 |ist is a| table w|
|000018d0| 69 74 68 20 6f 6e 65 20 | 65 6e 74 72 79 20 66 6f |ith one |entry fo|
|000018e0| 72 20 65 61 63 68 20 66 | 69 6c 65 20 66 6f 75 6e |r each f|ile foun|
|000018f0| 64 2e 20 20 45 61 63 68 | 20 6f 66 20 74 68 65 73 |d. Each| of thes|
|00001900| 65 20 65 6e 74 72 69 65 | 73 20 69 73 20 69 6e 20 |e entrie|s is in |
|00001910| 74 75 72 6e 20 61 20 74 | 61 62 6c 65 20 77 69 74 |turn a t|able wit|
|00001920| 68 20 38 20 65 6e 74 72 | 69 65 73 3a 0d 09 09 0d |h 8 entr|ies:....|
|00001930| 09 09 77 68 65 72 65 5e | 2e 66 69 6c 65 6c 69 73 |..where^|.filelis|
|00001940| 74 2e 66 69 6c 65 6e 6e | 6e 2e 70 61 74 68 20 69 |t.filenn|n.path i|
|00001950| 73 20 74 68 65 20 70 61 | 74 68 20 74 6f 20 74 68 |s the pa|th to th|
|00001960| 65 20 66 6f 6c 64 65 72 | 20 63 6f 6e 74 61 69 6e |e folder| contain|
|00001970| 69 6e 67 20 66 69 6c 65 | 20 28 65 6e 64 69 6e 67 |ing file| (ending|
|00001980| 20 69 6e 20 61 20 63 6f | 6c 6f 6e 29 2e 0d 09 09 | in a co|lon)....|
|00001990| 77 68 65 72 65 5e 2e 66 | 69 6c 65 6c 69 73 74 2e |where^.f|ilelist.|
|000019a0| 66 69 6c 65 6e 6e 6e 2e | 66 69 6c 65 6e 61 6d 65 |filennn.|filename|
|000019b0| 20 69 73 20 74 68 65 20 | 6e 61 6d 65 20 6f 66 20 | is the |name of |
|000019c0| 74 68 65 20 66 69 6c 65 | 2e 0d 09 09 77 68 65 72 |the file|....wher|
|000019d0| 65 5e 2e 66 69 6c 65 6c | 69 73 74 2e 66 69 6c 65 |e^.filel|ist.file|
|000019e0| 6e 6e 6e 2e 74 79 70 65 | 20 69 73 20 74 68 65 20 |nnn.type| is the |
|000019f0| 66 6f 75 72 20 63 68 61 | 72 61 63 74 65 72 20 66 |four cha|racter f|
|00001a00| 69 6c 65 20 74 79 70 65 | 20 6f 66 20 74 68 65 20 |ile type| of the |
|00001a10| 66 69 6c 65 2e 0d 09 09 | 77 68 65 72 65 5e 2e 66 |file....|where^.f|
|00001a20| 69 6c 65 6c 69 73 74 2e | 66 69 6c 65 6e 6e 6e 2e |ilelist.|filennn.|
|00001a30| 63 72 65 61 74 6f 72 20 | 69 73 20 74 68 65 20 66 |creator |is the f|
|00001a40| 6f 75 72 20 63 68 61 72 | 61 63 74 65 72 20 63 72 |our char|acter cr|
|00001a50| 65 61 74 6f 72 20 49 44 | 20 6f 66 20 74 68 65 20 |eator ID| of the |
|00001a60| 66 69 6c 65 2e 0d 09 09 | 77 68 65 72 65 5e 2e 66 |file....|where^.f|
|00001a70| 69 6c 65 6c 69 73 74 2e | 66 69 6c 65 6e 6e 6e 2e |ilelist.|filennn.|
|00001a80| 6d 6f 64 44 61 74 65 20 | 69 73 20 74 68 65 20 74 |modDate |is the t|
|00001a90| 69 6d 65 20 61 74 20 77 | 68 69 63 68 20 74 68 65 |ime at w|hich the|
|00001aa0| 20 66 69 6c 65 20 77 61 | 73 20 6c 61 73 74 20 6d | file wa|s last m|
|00001ab0| 6f 64 69 66 69 65 64 2e | 0d 09 09 77 68 65 72 65 |odified.|...where|
|00001ac0| 5e 2e 66 69 6c 65 6c 69 | 73 74 2e 66 69 6c 65 6e |^.fileli|st.filen|
|00001ad0| 6e 6e 2e 63 72 65 61 74 | 65 44 61 74 61 20 69 73 |nn.creat|eData is|
|00001ae0| 20 74 68 65 20 74 69 6d | 65 20 61 74 20 77 68 69 | the tim|e at whi|
|00001af0| 63 68 20 74 68 65 20 66 | 69 6c 65 20 77 61 73 20 |ch the f|ile was |
|00001b00| 63 72 65 61 74 65 64 2e | 0d 09 09 77 68 65 72 65 |created.|...where|
|00001b10| 5e 2e 66 69 6c 65 6c 69 | 73 74 2e 66 69 6c 65 6e |^.fileli|st.filen|
|00001b20| 6e 6e 2e 73 69 7a 65 20 | 69 73 20 74 68 65 20 73 |nn.size |is the s|
|00001b30| 69 7a 65 20 6f 66 20 74 | 68 65 20 66 69 6c 65 20 |ize of t|he file |
|00001b40| 69 6e 20 62 79 74 65 73 | 2e 0d 09 09 77 68 65 72 |in bytes|....wher|
|00001b50| 65 5e 2e 66 69 6c 65 6c | 69 73 74 2e 66 69 6c 65 |e^.filel|ist.file|
|00001b60| 6e 6e 6e 2e 66 6c 61 67 | 73 20 69 73 20 61 20 6e |nnn.flag|s is a n|
|00001b70| 75 6d 62 65 72 20 72 65 | 70 72 65 73 65 6e 74 69 |umber re|presenti|
|00001b80| 6e 67 20 74 68 65 20 73 | 75 6d 20 6f 66 20 74 68 |ng the s|um of th|
|00001b90| 65 20 66 6f 6c 6c 6f 77 | 69 6e 67 20 61 74 74 72 |e follow|ing attr|
|00001ba0| 69 62 75 74 65 73 20 74 | 68 61 74 20 61 70 70 6c |ibutes t|hat appl|
|00001bb0| 79 20 74 6f 20 74 68 65 | 20 66 69 6c 65 3a 0d 09 |y to the| file:..|
|00001bc0| 09 0d 09 09 33 32 20 69 | 66 20 74 68 65 20 66 69 |....32 i|f the fi|
|00001bd0| 6c 65 27 73 20 74 65 78 | 74 20 69 73 20 69 6e 64 |le's tex|t is ind|
|00001be0| 65 78 65 64 20 62 79 20 | 4f 6e 4c 6f 63 61 74 69 |exed by |OnLocati|
|00001bf0| 6f 6e 0d 09 09 31 36 20 | 69 66 20 74 68 65 20 66 |on...16 |if the f|
|00001c00| 69 6c 65 20 69 73 20 61 | 20 53 79 73 74 65 6d 20 |ile is a| System |
|00001c10| 37 20 61 6c 69 61 73 0d | 09 09 38 20 69 66 20 74 |7 alias.|..8 if t|
|00001c20| 68 65 20 22 66 69 6c 65 | 22 20 69 73 20 72 65 61 |he "file|" is rea|
|00001c30| 6c 6c 79 20 61 20 66 6f | 6c 64 65 72 20 28 64 69 |lly a fo|lder (di|
|00001c40| 72 65 63 74 6f 72 79 29 | 0d 09 09 34 20 69 66 20 |rectory)|...4 if |
|00001c50| 74 68 65 20 66 69 6c 65 | 20 69 73 20 69 6e 76 69 |the file| is invi|
|00001c60| 73 69 62 6c 65 20 74 6f | 20 74 68 65 20 66 69 6e |sible to| the fin|
|00001c70| 64 65 72 0d 09 52 65 74 | 75 72 6e 73 0d 09 09 54 |der..Ret|urns...T|
|00001c80| 68 65 20 6e 75 6d 62 65 | 72 20 6f 66 20 66 69 6c |he numbe|r of fil|
|00001c90| 65 73 20 66 6f 75 6e 64 | 2e 0d 09 45 78 61 6d 70 |es found|...Examp|
|00001ca0| 6c 65 73 0d 09 09 4f 6e | 4c 6f 63 61 74 69 6f 6e |les...On|Location|
|00001cb0| 2e 6c 6f 6f 6b 75 70 49 | 6e 66 6f 28 40 53 63 72 |.lookupI|nfo(@Scr|
|00001cc0| 61 74 63 68 50 61 64 2e | 41 6e 73 77 65 72 2c 20 |atchPad.|Answer, |
|00001cd0| 22 22 2c 20 22 4e 61 6d | 65 43 6f 6e 74 61 69 6e |"", "Nam|eContain|
|00001ce0| 73 22 2c 20 22 44 6f 63 | 53 65 72 76 65 72 22 2c |s", "Doc|Server",|
|00001cf0| 20 22 22 2c 20 30 2c 20 | 30 2c 20 30 29 0d 09 09 | "", 0, |0, 0)...|
|00001d00| 09 31 38 20 c7 20 41 20 | 74 61 62 6c 65 20 69 73 |.18 . A |table is|
|00001d10| 20 62 75 69 6c 74 20 61 | 74 20 22 53 63 72 61 74 | built a|t "Scrat|
|00001d20| 63 68 50 61 64 2e 41 6e | 73 77 65 72 22 20 63 6f |chPad.An|swer" co|
|00001d30| 6e 74 61 69 6e 69 6e 67 | 20 74 68 65 20 70 61 74 |ntaining| the pat|
|00001d40| 68 20 74 6f 20 65 61 63 | 68 20 66 69 6c 65 20 77 |h to eac|h file w|
|00001d50| 69 74 68 20 22 44 6f 63 | 53 65 72 76 65 72 22 20 |ith "Doc|Server" |
|00001d60| 69 6e 20 69 74 73 20 6e | 61 6d 65 2e 20 20 41 6c |in its n|ame. Al|
|00001d70| 6c 20 69 6e 64 65 78 65 | 73 20 61 72 65 20 73 65 |l indexe|s are se|
|00001d80| 61 72 63 68 65 64 20 61 | 6e 64 20 74 68 65 72 65 |arched a|nd there|
|00001d90| 20 69 73 20 6e 6f 20 6c | 69 6d 69 74 20 74 6f 20 | is no l|imit to |
|00001da0| 74 68 65 20 6e 75 6d 62 | 65 72 20 6f 66 20 66 69 |the numb|er of fi|
|00001db0| 6c 65 73 20 72 65 74 75 | 72 6e 65 64 20 6f 72 20 |les retu|rned or |
|00001dc0| 74 68 65 20 74 69 6d 65 | 20 74 61 6b 65 6e 2e 0d |the time| taken..|
|00001dd0| 09 4e 6f 74 65 73 0d 09 | 09 54 68 65 72 65 20 73 |.Notes..|.There s|
|00001de0| 65 65 6d 73 20 74 6f 20 | 62 65 20 61 20 62 75 67 |eems to |be a bug|
|00001df0| 20 69 6e 20 4f 6e 4c 6f | 63 61 74 69 6f 6e 20 76 | in OnLo|cation v|
|00001e00| 65 72 73 69 6f 6e 20 31 | 2e 30 20 77 68 69 63 68 |ersion 1|.0 which|
|00001e10| 20 6d 61 6b 65 73 20 73 | 6f 6d 65 20 6f 66 20 74 | makes s|ome of t|
|00001e20| 68 65 20 73 65 61 72 63 | 68 20 6d 6f 64 65 73 20 |he searc|h modes |
|00001e30| 66 61 69 6c 20 74 6f 20 | 66 69 6e 64 20 61 6e 79 |fail to |find any|
|00001e40| 20 66 69 6c 65 73 2e 0d | 09 09 54 68 65 20 69 6e | files..|..The in|
|00001e50| 64 65 78 20 70 61 73 73 | 65 64 20 69 6e 20 74 68 |dex pass|ed in th|
|00001e60| 65 20 73 65 63 6f 6e 64 | 20 70 61 72 61 6d 65 74 |e second| paramet|
|00001e70| 65 72 20 63 61 6e 20 62 | 65 20 61 6e 79 77 68 65 |er can b|e anywhe|
|00001e80| 72 65 2c 20 69 74 20 64 | 6f 65 73 20 6e 6f 74 20 |re, it d|oes not |
|00001e90| 6e 65 65 64 20 74 6f 20 | 62 65 20 6f 6e 65 20 6b |need to |be one k|
|00001ea0| 6e 6f 77 6e 20 74 6f 20 | 4f 6e 4c 6f 63 61 74 69 |nown to |OnLocati|
|00001eb0| 6f 6e 2e 0d 09 09 49 66 | 20 61 20 76 65 72 79 20 |on....If| a very |
|00001ec0| 67 65 6e 65 72 61 6c 20 | 73 65 61 72 63 68 20 69 |general |search i|
|00001ed0| 73 20 64 6f 6e 65 20 77 | 69 74 68 20 6e 6f 20 6c |s done w|ith no l|
|00001ee0| 69 6d 69 74 73 2c 20 79 | 6f 75 20 77 69 6c 6c 20 |imits, y|ou will |
|00001ef0| 6c 69 6b 65 6c 79 20 63 | 61 75 73 65 20 65 69 74 |likely c|ause eit|
|00001f00| 68 65 72 20 4f 6e 4c 6f | 63 61 74 69 6f 6e 20 6f |her OnLo|cation o|
|00001f10| 72 20 46 72 6f 6e 74 69 | 65 72 20 74 6f 20 72 75 |r Fronti|er to ru|
|00001f20| 6e 20 6f 75 74 20 6f 66 | 20 6d 65 6d 6f 72 79 2e |n out of| memory.|
|00001f30| 20 20 53 75 63 68 20 73 | 65 61 72 63 68 65 73 20 | Such s|earches |
|00001f40| 73 68 6f 75 6c 64 20 62 | 65 20 64 6f 6e 65 20 69 |should b|e done i|
|00001f50| 6e 20 70 69 65 63 65 73 | 20 75 73 69 6e 67 20 74 |n pieces| using t|
|00001f60| 68 65 20 6c 61 73 74 20 | 74 68 72 65 65 20 70 61 |he last |three pa|
|00001f70| 72 61 6d 65 74 65 72 73 | 20 74 6f 20 63 6f 6e 74 |rameters| to cont|
|00001f80| 72 6f 6c 20 74 68 69 6e | 67 73 2e 0d 09 09 42 65 |rol thin|gs....Be|
|00001f90| 63 61 75 73 65 20 74 68 | 69 73 20 72 65 74 75 72 |cause th|is retur|
|00001fa0| 6e 73 20 6d 6f 72 65 20 | 69 6e 66 6f 72 6d 61 74 |ns more |informat|
|00001fb0| 69 6f 6e 20 61 62 6f 75 | 74 20 65 61 63 68 20 66 |ion abou|t each f|
|00001fc0| 69 6c 65 2c 20 69 74 20 | 69 73 20 71 75 69 74 65 |ile, it |is quite|
|00001fd0| 20 61 20 62 69 74 20 73 | 6c 6f 77 65 72 20 74 68 | a bit s|lower th|
|00001fe0| 61 6e 20 4f 6e 4c 6f 63 | 61 74 69 6f 6e 2e 6c 6f |an OnLoc|ation.lo|
|00001ff0| 6f 6b 75 70 50 61 74 68 | 2e 0d 09 53 65 65 20 41 |okupPath|...See A|
|00002000| 6c 73 6f 0d 09 09 4f 6e | 4c 6f 63 61 74 69 6f 6e |lso...On|Location|
|00002010| 2e 6c 6f 6f 6b 75 70 50 | 61 74 68 0d 80 00 00 00 |.lookupP|ath.....|
|00002020| 00 00 80 00 00 00 00 00 | 00 00 00 00 00 00 80 00 |........|........|
|00002030| 00 00 00 00 00 00 00 00 | 00 00 80 00 00 00 00 00 |........|........|
|00002040| 00 00 00 00 00 00 80 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002050| 00 00 80 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002060| 00 00 00 00 80 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002070| 80 00 00 00 00 00 80 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002080| 00 00 80 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002090| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000020a0| 00 00 00 00 00 00 80 00 | 00 00 00 00 00 00 00 00 |........|........|
|000020b0| 00 00 80 00 00 00 00 00 | 00 00 00 00 00 00 80 00 |........|........|
|000020c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000020d0| 80 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000020e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 80 00 |........|........|
|000020f0| 00 00 00 00 00 00 00 00 | 00 00 80 00 00 00 00 00 |........|........|
|00002100| 80 00 00 00 00 00 00 00 | 00 00 00 00 80 00 00 00 |........|........|
|00002110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002140| 00 00 80 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000021a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000021b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000021c0| 80 00 00 00 00 00 00 00 | 00 00 00 00 80 00 00 00 |........|........|
|000021d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 80 00 |........|........|
|000021e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000021f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 80 00 00 00 |........|........|
|00002200| 00 00 00 00 00 00 00 00 | 06 72 65 61 64 6d 65 00 |........|.readme.|
|00002210| 00 0d f6 00 01 01 6e 00 | 00 00 30 00 00 04 a3 00 |......n.|..0.....|
|00002220| 2f 00 03 01 90 02 02 00 | 00 00 2f 00 00 00 03 00 |/.......|../.....|
|00002230| 00 01 83 00 00 02 63 00 | 00 00 2f 00 00 00 03 00 |......c.|../.....|
|00002240| 00 04 a1 00 00 00 00 00 | 00 02 28 00 43 00 00 04 |........|..(.C...|
|00002250| a1 00 00 00 00 00 00 02 | 28 00 43 00 00 09 02 00 |........|(.C.....|
|00002260| 00 00 00 00 00 00 48 00 | 00 00 00 00 73 00 00 00 |......H.|....s...|
|00002270| 00 00 00 00 48 00 00 00 | 00 00 00 00 00 00 00 00 |....H...|........|
|00002280| 00 00 00 00 00 00 00 00 | 88 00 00 00 18 00 00 00 |........|........|
|00002290| 00 01 00 08 50 61 6c 61 | 74 69 6e 6f 00 00 00 00 |....Pala|tino....|
|000022a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000022b0| 00 00 00 00 00 00 0c 00 | 00 00 00 00 00 00 00 00 |........|........|
|000022c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000022d0| 00 ff ff 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000022e0| 00 04 a3 00 00 02 70 00 | 00 00 00 00 00 02 40 00 |......p.|......@.|
|000022f0| 00 00 00 00 00 01 54 00 | 00 08 80 00 00 04 a3 00 |......T.|........|
|00002300| 00 00 72 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |..r.....|........|
|00002310| 00 00 00 01 00 09 48 65 | 6c 76 65 74 69 63 61 00 |......He|lvetica.|
|00002320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002330| 00 00 00 00 00 00 00 00 | 12 00 00 00 00 00 00 00 |........|........|
|00002340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002350| 18 00 00 00 00 01 00 08 | 50 61 6c 61 74 69 6e 6f |........|Palatino|
|00002360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002370| 00 00 00 00 00 00 00 00 | 00 00 0c 00 00 00 00 00 |........|........|
|00002380| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002390| 00 04 a5 4f 6e 4c 6f 63 | 61 74 69 6f 6e 20 67 6c |...OnLoc|ation gl|
|000023a0| 75 65 20 73 63 72 69 70 | 74 73 0d 0d 54 68 69 73 |ue scrip|ts..This|
|000023b0| 20 74 61 62 6c 65 20 64 | 65 66 69 6e 65 73 20 67 | table d|efines g|
|000023c0| 6c 75 65 20 72 6f 75 74 | 69 6e 65 73 20 74 6f 20 |lue rout|ines to |
|000023d0| 63 61 6c 6c 20 4f 6e 4c | 6f 63 61 74 69 6f 6e 20 |call OnL|ocation |
|000023e0| 66 72 6f 6d 20 46 72 6f | 6e 74 69 65 72 20 76 69 |from Fro|ntier vi|
|000023f0| 61 20 41 70 70 6c 65 45 | 76 65 6e 74 73 2e 20 20 |a AppleE|vents. |
|00002400| 54 68 72 65 65 20 66 75 | 6e 63 74 69 6f 6e 73 20 |Three fu|nctions |
|00002410| 61 72 65 20 64 65 66 69 | 6e 65 64 2c 20 6f 6e 65 |are defi|ned, one|
|00002420| 20 74 6f 20 72 65 74 75 | 72 6e 20 61 20 6c 69 73 | to retu|rn a lis|
|00002430| 74 20 6f 66 20 61 76 61 | 69 6c 61 62 6c 65 20 69 |t of ava|ilable i|
|00002440| 6e 64 65 78 65 73 20 61 | 6e 64 20 74 68 65 20 6f |ndexes a|nd the o|
|00002450| 74 68 65 72 20 74 77 6f | 20 74 6f 20 6c 6f 6f 6b |ther two| to look|
|00002460| 75 70 20 73 6f 6d 65 74 | 68 69 6e 67 20 69 6e 20 |up somet|hing in |
|00002470| 74 68 65 20 69 6e 64 65 | 78 65 73 3a 0d 0d 4f 6e |the inde|xes:..On|
|00002480| 4c 6f 63 61 74 69 6f 6e | 2e 67 65 74 49 6e 64 65 |Location|.getInde|
|00002490| 78 4c 69 73 74 20 72 65 | 74 75 72 6e 73 20 61 20 |xList re|turns a |
|000024a0| 6c 69 73 74 20 6f 66 20 | 61 6c 6c 20 69 6e 64 65 |list of |all inde|
|000024b0| 78 65 73 20 6b 6e 6f 77 | 6e 20 74 6f 20 4f 6e 4c |xes know|n to OnL|
|000024c0| 6f 63 61 74 69 6f 6e 2e | 0d 4f 6e 4c 6f 63 61 74 |ocation.|.OnLocat|
|000024d0| 69 6f 6e 2e 6c 6f 6f 6b | 75 70 49 6e 66 6f 20 73 |ion.look|upInfo s|
|000024e0| 65 61 72 63 68 65 73 20 | 69 6e 64 65 78 65 73 20 |earches |indexes |
|000024f0| 61 6e 64 20 72 65 74 75 | 72 6e 73 20 65 76 65 72 |and retu|rns ever|
|00002500| 79 74 68 69 6e 67 20 4f | 6e 4c 6f 63 61 74 69 6f |ything O|nLocatio|
|00002510| 6e 20 6b 6e 6f 77 73 20 | 61 62 6f 75 74 20 65 61 |n knows |about ea|
|00002520| 63 68 20 66 69 6c 65 20 | 66 6f 75 6e 64 2e 0d 4f |ch file |found..O|
|00002530| 6e 4c 6f 63 61 74 69 6f | 6e 2e 6c 6f 6f 6b 75 70 |nLocatio|n.lookup|
|00002540| 50 61 74 68 20 73 65 61 | 72 63 68 65 73 20 69 6e |Path sea|rches in|
|00002550| 64 65 78 65 73 20 61 6e | 64 20 72 65 74 75 72 6e |dexes an|d return|
|00002560| 73 20 74 68 65 20 70 61 | 74 68 20 74 6f 20 65 61 |s the pa|th to ea|
|00002570| 63 68 20 66 69 6c 65 20 | 66 6f 75 6e 64 2e 0d 0d |ch file |found...|
|00002580| 4f 6e 4c 6f 63 61 74 69 | 6f 6e 20 69 73 20 61 20 |OnLocati|on is a |
|00002590| 75 74 69 6c 69 74 79 20 | 61 76 61 69 6c 61 62 6c |utility |availabl|
|000025a0| 65 20 66 72 6f 6d 20 4f | 6e 20 54 65 63 68 6e 6f |e from O|n Techno|
|000025b0| 6c 6f 67 79 2c 20 49 6e | 63 2e 20 77 68 69 63 68 |logy, In|c. which|
|000025c0| 20 69 6e 64 65 78 65 73 | 20 74 68 65 20 6e 61 6d | indexes| the nam|
|000025d0| 65 73 20 6f 66 20 66 69 | 6c 65 73 20 61 6e 64 20 |es of fi|les and |
|000025e0| 6f 70 74 69 6f 6e 61 6c | 6c 79 20 74 68 65 20 74 |optional|ly the t|
|000025f0| 65 78 74 20 69 6e 20 74 | 68 65 6d 2e 20 20 56 65 |ext in t|hem. Ve|
|00002600| 72 73 69 6f 6e 20 32 2e | 30 20 6f 66 20 4f 6e 4c |rsion 2.|0 of OnL|
|00002610| 6f 63 61 74 69 6f 6e 20 | 69 6d 70 6c 65 6d 65 6e |ocation |implemen|
|00002620| 74 73 20 41 70 70 6c 65 | 45 76 65 6e 74 73 20 74 |ts Apple|Events t|
|00002630| 68 61 74 20 63 61 6e 20 | 62 65 20 75 73 65 64 20 |hat can |be used |
|00002640| 74 6f 20 63 6f 6d 6d 75 | 6e 69 63 61 74 65 20 77 |to commu|nicate w|
|00002650| 69 74 68 20 69 74 2c 20 | 61 6e 64 20 74 68 65 73 |ith it, |and thes|
|00002660| 65 20 73 63 72 69 70 74 | 73 20 75 73 65 20 74 68 |e script|s use th|
|00002670| 6f 73 65 20 65 76 65 6e | 74 73 20 74 6f 20 73 65 |ose even|ts to se|
|00002680| 61 72 63 68 20 74 68 65 | 20 69 6e 64 65 78 65 73 |arch the| indexes|
|00002690| 2e 20 20 54 68 65 79 20 | 61 72 65 20 75 73 65 6c |. They |are usel|
|000026a0| 65 73 73 20 75 6e 6c 65 | 73 73 20 79 6f 75 20 68 |ess unle|ss you h|
|000026b0| 61 76 65 20 4f 6e 4c 6f | 63 61 74 69 6f 6e 2e 0d |ave OnLo|cation..|
|000026c0| 0d 41 20 44 6f 63 53 65 | 72 76 65 72 20 66 69 6c |.A DocSe|rver fil|
|000026d0| 65 20 28 77 68 69 63 68 | 20 63 61 6e 20 62 65 20 |e (which| can be |
|000026e0| 69 6e 63 6c 75 64 65 64 | 20 69 6e 20 79 6f 75 72 |included| in your|
|000026f0| 20 44 6f 63 53 65 72 76 | 65 72 20 64 61 74 61 20 | DocServ|er data |
|00002700| 62 61 73 65 20 75 73 69 | 6e 67 20 74 68 65 20 22 |base usi|ng the "|
|00002710| 4c 6f 61 64 20 54 65 78 | 74 20 46 69 6c 65 20 c9 |Load Tex|t File .|
|00002720| 22 20 63 6f 6d 6d 61 6e | 64 20 69 6e 20 44 6f 63 |" comman|d in Doc|
|00002730| 53 65 72 76 65 72 29 20 | 69 73 20 69 6e 63 6c 75 |Server) |is inclu|
|00002740| 64 65 64 20 77 69 74 68 | 20 74 68 65 73 65 20 73 |ded with| these s|
|00002750| 63 72 69 70 74 73 2e 20 | 20 54 68 65 20 6f 75 74 |cripts. | The out|
|00002760| 6c 69 6e 65 20 66 72 6f | 6d 20 77 68 69 63 68 20 |line fro|m which |
|00002770| 74 68 69 73 20 77 61 73 | 20 70 72 6f 64 75 63 65 |this was| produce|
|00002780| 64 20 75 73 69 6e 67 20 | 74 68 65 20 44 6f 63 53 |d using |the DocS|
|00002790| 65 72 76 65 72 20 43 6f | 6d 70 69 6c 65 72 20 73 |erver Co|mpiler s|
|000027a0| 75 69 74 65 20 69 73 20 | 61 6c 73 6f 20 69 6e 20 |uite is |also in |
|000027b0| 74 68 65 20 61 70 70 73 | 2e 4f 6e 4c 6f 63 61 74 |the apps|.OnLocat|
|000027c0| 69 6f 6e 20 74 61 62 6c | 65 2e 0d 0d 4d 69 6b 65 |ion tabl|e...Mike|
|000027d0| 20 41 6c 65 78 61 6e 64 | 65 72 09 49 6e 74 65 72 | Alexand|er.Inter|
|000027e0| 6e 65 74 3a 20 4d 69 6b | 65 2e 41 6c 65 78 61 6e |net: Mik|e.Alexan|
|000027f0| 64 65 72 40 75 6d 69 63 | 68 2e 65 64 75 0d 55 6e |der@umic|h.edu.Un|
|00002800| 69 76 65 72 73 69 74 79 | 20 6f 66 20 4d 69 63 68 |iversity| of Mich|
|00002810| 69 67 61 6e 09 41 70 70 | 6c 65 4c 69 6e 6b 3a 20 |igan.App|leLink: |
|00002820| 55 4d 49 43 48 0d 0d 33 | 30 20 4a 75 6c 79 2c 20 |UMICH..3|0 July, |
|00002830| 31 39 39 32 00 00 00 00 | 00 00 00 18 00 00 00 00 |1992....|........|
|00002840| 00 12 00 00 00 04 81 04 | 00 00 00 ba 01 f9 00 00 |........|........|
|00002850| 00 18 00 01 00 00 00 12 | 00 0e 00 00 00 04 81 04 |........|........|
|00002860| 00 00 00 00 01 f9 00 00 | 00 19 00 5a 00 00 00 20 |........|...Z... |
|00002870| 00 0e 00 00 00 04 01 04 | 00 03 01 f0 01 f9 00 00 |........|........|
|00002880| 00 73 00 5d 00 00 00 2e | 00 0e 00 00 00 04 01 04 |.s.]....|........|
|00002890| 00 03 01 f2 01 f9 00 00 | 00 d0 00 1a 00 00 00 3c |........|.......<|
|000028a0| 00 0e 00 00 00 04 81 04 | 00 00 00 90 01 f9 00 00 |........|........|
|000028b0| 00 ea 00 01 00 00 00 4a | 00 0e 00 00 00 04 81 04 |.......J|........|
|000028c0| 00 00 00 00 01 f9 00 00 | 00 eb 00 4b 00 00 00 58 |........|...K...X|
|000028d0| 00 0e 00 16 00 04 81 04 | 00 00 01 9c 01 e3 00 00 |........|........|
|000028e0| 01 36 00 4f 00 00 00 66 | 00 0e 00 16 00 04 01 04 |.6.O...f|........|
|000028f0| 00 03 01 d1 01 e3 00 00 | 01 85 00 17 00 00 00 74 |........|.......t|
|00002900| 00 0e 00 24 00 04 81 04 | 00 00 00 78 01 d5 00 00 |...$....|...x....|
|00002910| 01 9c 00 50 00 00 00 82 | 00 0e 00 16 00 04 81 04 |...P....|........|
|00002920| 00 00 01 bf 01 e3 00 00 | 01 ec 00 01 00 00 00 90 |........|........|
|00002930| 00 0e 00 16 00 04 81 04 | 00 00 00 00 01 e3 00 00 |........|........|
|00002940| 01 ed 00 56 00 00 00 9e | 00 0e 00 00 00 04 01 04 |...V....|........|
|00002950| 00 03 01 df 01 f9 00 00 | 02 43 00 59 00 00 00 ac |........|.C.Y....|
|00002960| 00 0e 00 00 00 04 01 04 | 00 03 01 f3 01 f9 00 00 |........|........|
|00002970| 02 9c 00 5a 00 00 00 ba | 00 0e 00 00 00 04 01 04 |...Z....|........|
|00002980| 00 03 01 e7 01 f9 00 00 | 02 f6 00 37 00 00 00 c8 |........|...7....|
|00002990| 00 0e 00 00 00 04 81 04 | 00 00 01 32 01 f9 00 00 |........|...2....|
|000029a0| 03 2d 00 01 00 00 00 d6 | 00 0e 00 00 00 04 81 04 |.-......|........|
|000029b0| 00 00 00 00 01 f9 00 00 | 03 2e 00 59 00 00 00 e4 |........|...Y....|
|000029c0| 00 0e 00 00 00 04 01 04 | 00 03 01 f2 01 f9 00 00 |........|........|
|000029d0| 03 87 00 56 00 00 00 f2 | 00 0e 00 00 00 04 01 04 |...V....|........|
|000029e0| 00 03 01 e6 01 f9 00 00 | 03 dd 00 5b 00 00 01 00 |........|...[....|
|000029f0| 00 0e 00 00 00 04 81 04 | 00 00 01 f7 01 f9 00 00 |........|........|
|00002a00| 04 38 00 01 00 00 01 0e | 00 0e 00 00 00 04 81 04 |.8......|........|
|00002a10| 00 00 00 00 01 f9 00 00 | 04 39 00 32 00 00 01 1c |........|.9.2....|
|00002a20| 00 0e 00 00 00 04 a1 04 | 00 00 01 ad 01 f9 00 00 |........|........|
|00002a30| 04 6b 00 28 00 00 01 2a | 00 0e 00 00 00 04 a1 04 |.k.(...*|........|
|00002a40| 00 00 01 45 01 f9 00 00 | 04 93 00 01 00 00 01 38 |...E....|.......8|
|00002a50| 00 0e 00 00 00 04 81 04 | 00 00 00 00 01 f9 00 00 |........|........|
|00002a60| 04 94 00 0f 00 00 01 46 | 00 0e 00 00 00 04 82 04 |.......F|........|
|00002a70| 00 00 00 43 01 f9 00 00 | 04 a3 00 00 00 00 01 54 |...C....|.......T|
|00002a80| 00 00 00 06 be 58 00 4e | 98 70 00 4e 7b 1c 00 00 |.....X.N|.p.N{...|
|00002a90| 04 a3 00 00 9b 00 00 4e | 7b 1c 00 02 01 e1 40 00 |.......N|{.....@.|
|00002aa0| 00 00 00 00 00 00 00 18 | 00 0d 00 00 00 19 00 0d |........|........|
|00002ab0| 00 00 00 ea 00 0d 00 00 | 00 eb 00 0d 00 00 01 36 |........|.......6|
|00002ac0| 00 0d 00 00 01 9c 00 0d | 00 00 01 ec 00 0d 00 00 |........|........|
|00002ad0| 01 ed 00 0d 00 00 03 2d | 00 0d 00 00 03 2e 00 0d |.......-|........|
|00002ae0| 00 00 04 38 00 0d 00 00 | 04 39 00 0d 00 00 04 48 |...8....|.9.....H|
|00002af0| 00 09 00 7e 04 6b 00 0d | 00 00 04 82 00 09 00 55 |...~.k..|.......U|
|00002b00| 04 93 00 0d 00 00 04 94 | 00 0d 00 00 04 a2 00 00 |........|........|
|00002b10| 00 00 04 a3 00 00 00 00 | 01 00 00 00 73 00 09 00 |........|....s...|
|00002b20| 00 00 08 00 01 00 2c 00 | 0e 00 1b 00 00 00 00 00 |......,.|........|
|00002b30| 00 00 00 04 6b 00 00 00 | 67 00 00 00 00 00 03 00 |....k...|g.......|
|00002b40| d7 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002b50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002b60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002b70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002b80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002b90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ba0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002bb0| 00 00 00 00 00 00 00 00 | 00 ff ff 00 01 00 00 00 |........|........|
|00002bc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 03 |........|........|
|00002bd0| ac 00 00 00 00 00 00 00 | 67 00 00 00 01 00 00 00 |........|g.......|
|00002be0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002bf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002c00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002c10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002c20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002c30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002c40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002c50| 00 00 00 00 00 00 00 00 | 00 ff ff 00 01 00 00 00 |........|........|
|00002c60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002c70| 18 00 00 00 67 00 00 00 | 00 00 00 00 00 00 00 00 |....g...|........|
|00002c80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002c90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ca0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002cb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002cc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002cd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ce0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002cf0| 00 00 00 00 00 ff ff 00 | 01 00 00 00 00 00 00 00 |........|........|
|00002d00| 00 00 00 00 00 00 00 00 | 00 00 00 00 eb 00 24 00 |........|......$.|
|00002d10| 67 ff f2 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |g.......|........|
|00002d20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002d30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002d40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002d50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002d60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002d70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002d80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002d90| 00 ff ff 00 01 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002da0| 00 00 00 00 00 00 00 01 | ed 00 00 00 67 00 00 00 |........|....g...|
|00002db0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002dc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002dd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002de0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002df0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002e00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002e10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002e20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 ff ff 00 |........|........|
|00002e30| 01 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002e40| 00 00 00 04 39 00 00 00 | 67 00 00 00 00 00 03 00 |....9...|g.......|
|00002e50| d8 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002e60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002e70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002e80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002e90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ea0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002eb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ec0| 00 00 00 00 00 00 00 00 | 00 ff ff 00 01 00 00 00 |........|........|
|00002ed0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 04 |........|........|
|00002ee0| 6b 00 00 00 67 00 00 00 | 00 00 03 00 d7 00 00 00 |k...g...|........|
|00002ef0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002f00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002f10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002f20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002f30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002f40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002f50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002f60| 00 00 00 00 00 ff ff 00 | 01 00 00 00 00 00 00 00 |........|........|
|00002f70| 00 00 00 00 00 00 00 00 | 00 00 00 04 a7 00 00 00 |........|........|
|00002f80| 00 00 00 00 00 00 01 a6 | 99 0e 97 a6 9c f6 f0 00 |........|........|
|00002f90| 00 00 06 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002fa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002fb0| 00 00 00 00 00 00 00 00 | 00 04 a1 00 00 00 00 00 |........|........|
|00002fc0| 00 00 00 40 00 00 49 00 | 13 01 ec 02 28 00 00 00 |...@..I.|....(...|
|00002fd0| 08 00 00 0d 66 00 00 00 | 00 00 00 00 00 00 00 00 |....f...|........|
|00002fe0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ff0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003000| 00 00 00 00 00 00 00 00 | 00 0a 73 65 61 72 63 68 |........|..search|
|00003010| 4d 6f 64 65 00 00 01 1a | 00 01 03 6e 00 00 00 8a |Mode....|...n....|
|00003020| 00 00 00 3c 00 00 00 00 | 03 00 00 00 00 01 00 00 |...<....|........|
|00003030| 00 0c 03 00 00 00 00 05 | 00 00 00 15 03 00 00 00 |........|........|
|00003040| 00 00 00 00 00 22 03 00 | 00 00 00 02 00 00 00 31 |....."..|.......1|
|00003050| 03 00 00 00 00 03 00 00 | 00 3e 03 00 00 00 00 04 |........|.>......|
|00003060| 0b 4e 61 6d 65 45 78 61 | 63 74 6c 79 08 54 65 78 |.NameExa|ctly.Tex|
|00003070| 74 52 6f 6f 74 0c 4e 61 | 6d 65 43 6f 6e 74 61 69 |tRoot.Na|meContai|
|00003080| 6e 73 0e 4e 61 6d 65 53 | 74 61 72 74 73 57 69 74 |ns.NameS|tartsWit|
|00003090| 68 0c 4e 61 6d 65 45 6e | 64 73 57 69 74 68 0b 54 |h.NameEn|dsWith.T|
|000030a0| 65 78 74 45 78 61 63 74 | 6c 79 00 01 00 05 00 01 |extExact|ly......|
|000030b0| 00 06 00 03 00 00 00 0c | 00 00 00 00 00 00 00 00 |........|........|
|000030c0| 00 00 00 00 00 00 00 00 | a5 a8 ee e1 a6 9c fa c9 |........|........|
|000030d0| 00 00 00 06 00 00 00 0c | 00 00 00 06 5f 00 07 43 |........|...._..C|
|000030e0| 68 69 63 61 67 6f 00 00 | 00 00 00 00 00 00 00 00 |hicago..|........|
|000030f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003100| 00 00 00 c3 00 5b 01 79 | 01 c9 00 00 00 00 00 00 |.....[.y|........|
|00003110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003120| 00 15 00 15 00 15 00 15 | 00 15 00 15 00 8c 00 42 |........|.......B|
|00003130| 00 42 02 69 64 0c 67 65 | 74 49 6e 64 65 78 4c 69 |.B.id.ge|tIndexLi|
|00003140| 73 74 00 00 03 07 00 01 | 04 6e 00 02 00 00 00 60 |st......|.n.....`|
|00003150| 00 00 02 2b 00 06 02 00 | 00 0f 06 47 65 6e 65 76 |...+....|...Genev|
|00003160| 61 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |a.......|........|
|00003170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 09 00 00 |........|........|
|00003180| 00 00 00 00 00 00 00 00 | 07 20 00 00 a5 a7 b2 13 |........|. ......|
|00003190| a6 9c f9 a2 00 00 00 0d | 00 00 00 83 00 31 01 46 |........|.....1.F|
|000031a0| 01 e1 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000031b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000031c0| 00 00 6f 6e 20 67 65 74 | 49 6e 64 65 78 4c 69 73 |..on get|IndexLis|
|000031d0| 74 28 77 68 65 72 65 29 | 0d 09 6c 6f 63 61 6c 20 |t(where)|..local |
|000031e0| 28 72 65 73 75 6c 74 2c | 20 69 2c 20 6e 65 78 74 |(result,| i, next|
|000031f0| 46 69 6c 65 2c 20 6c 6f | 63 29 0d 09 69 66 20 6e |File, lo|c)..if n|
|00003200| 6f 74 20 73 79 73 2e 61 | 70 70 49 73 52 75 6e 6e |ot sys.a|ppIsRunn|
|00003210| 69 6e 67 28 4f 6e 4c 6f | 63 61 74 69 6f 6e 2e 69 |ing(OnLo|cation.i|
|00003220| 64 29 0d 09 09 73 63 72 | 69 70 74 45 72 72 6f 72 |d)...scr|iptError|
|00003230| 28 22 4f 6e 4c 6f 63 61 | 74 69 6f 6e 20 69 73 20 |("OnLoca|tion is |
|00003240| 6e 6f 74 20 72 75 6e 6e | 69 6e 67 2c 20 67 65 74 |not runn|ing, get|
|00003250| 49 6e 64 65 78 4c 69 73 | 74 20 63 61 6e 20 6e 6f |IndexLis|t can no|
|00003260| 74 20 62 65 20 63 61 6c | 6c 65 64 20 61 74 20 74 |t be cal|led at t|
|00003270| 68 69 73 20 74 69 6d 65 | 22 29 0d 09 72 65 73 75 |his time|")..resu|
|00003280| 6c 74 20 3d 20 61 70 70 | 6c 65 45 76 65 6e 74 28 |lt = app|leEvent(|
|00003290| 4f 6e 4c 6f 63 61 74 69 | 6f 6e 2e 69 64 2c 27 4f |OnLocati|on.id,'O|
|000032a0| 4e 4c 43 27 2c 27 67 65 | 74 69 27 29 0d 09 6e 65 |NLC','ge|ti')..ne|
|000032b0| 77 28 74 61 62 6c 65 54 | 79 70 65 2c 20 40 77 68 |w(tableT|ype, @wh|
|000032c0| 65 72 65 5e 29 0d 09 6c | 6f 6f 70 20 28 69 3d 31 |ere^)..l|oop (i=1|
|000032d0| 3b 20 67 65 74 41 70 70 | 6c 65 4c 69 73 74 49 74 |; getApp|leListIt|
|000032e0| 65 6d 28 72 65 73 75 6c | 74 2c 69 2c 40 6e 65 78 |em(resul|t,i,@nex|
|000032f0| 74 46 69 6c 65 29 3b 20 | 69 2b 2b 29 0d 09 09 69 |tFile); |i++)...i|
|00003300| 66 20 69 3c 31 30 20 c7 | 20 47 65 6e 65 72 61 74 |f i<10 .| Generat|
|00003310| 65 20 61 20 6e 61 6d 65 | 20 6f 66 20 74 68 65 20 |e a name| of the |
|00003320| 66 6f 72 6d 20 22 69 6e | 64 65 78 6e 6e 6e 22 20 |form "in|dexnnn" |
|00003330| 73 6f 20 74 68 65 20 65 | 6e 74 72 69 65 73 20 73 |so the e|ntries s|
|00003340| 6f 72 74 20 63 6f 72 72 | 65 63 74 6c 79 0d 09 09 |ort corr|ectly...|
|00003350| 09 6c 6f 63 20 3d 20 40 | 77 68 65 72 65 5e 5b 22 |.loc = @|where^["|
|00003360| 69 6e 64 65 78 30 30 22 | 2b 69 5d 0d 09 09 65 6c |index00"|+i]...el|
|00003370| 73 65 0d 09 09 09 69 66 | 20 69 3c 31 30 30 0d 09 |se....if| i<100..|
|00003380| 09 09 09 6c 6f 63 20 3d | 20 40 77 68 65 72 65 5e |...loc =| @where^|
|00003390| 5b 22 69 6e 64 65 78 30 | 22 2b 69 5d 0d 09 09 09 |["index0|"+i]....|
|000033a0| 65 6c 73 65 0d 09 09 09 | 09 6c 6f 63 20 3d 20 40 |else....|.loc = @|
|000033b0| 77 68 65 72 65 5e 5b 22 | 69 6e 64 65 78 22 2b 69 |where^["|index"+i|
|000033c0| 5d 0d 09 09 74 61 62 6c | 65 2e 61 73 73 69 67 6e |]...tabl|e.assign|
|000033d0| 28 40 6c 6f 63 5e 2c 6e | 65 78 74 46 69 6c 65 29 |(@loc^,n|extFile)|
|000033e0| 0d 09 72 65 74 75 72 6e | 20 69 2d 31 0d 80 00 00 |..return| i-1....|
|000033f0| 00 00 00 80 00 00 00 00 | 00 80 00 00 00 00 00 00 |........|........|
|00003400| 00 00 00 00 00 80 00 00 | 00 00 00 80 00 00 00 00 |........|........|
|00003410| 00 80 00 00 00 00 00 80 | 00 00 00 00 00 00 00 00 |........|........|
|00003420| 00 00 00 80 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003430| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003440| 00 80 00 00 00 00 00 80 | 00 00 00 00 00 07 61 70 |........|......ap|
|00003450| 70 49 6e 66 6f 00 00 00 | fd 00 01 03 6e 00 00 00 |pInfo...|....n...|
|00003460| 6f 00 00 00 32 00 00 00 | 00 0c 00 00 00 00 05 00 |o...2...|........|
|00003470| 00 00 13 10 00 4f 4e 4c | 43 00 00 00 16 0c 00 00 |.....ONL|C.......|
|00003480| 00 00 1b 00 00 00 1f 06 | 00 00 00 00 3d 00 00 00 |........|....=...|
|00003490| 2b 06 00 00 00 00 3d 04 | 6e 61 6d 65 00 00 00 0a |+.....=.|name....|
|000034a0| 4f 6e 4c 6f 63 61 74 69 | 6f 6e 02 69 64 04 70 61 |OnLocati|on.id.pa|
|000034b0| 74 68 00 00 00 00 0b 73 | 68 61 72 65 64 4d 65 6e |th.....s|haredMen|
|000034c0| 75 73 0d 61 70 70 31 73 | 75 70 70 6f 72 74 65 64 |us.app1s|upported|
|000034d0| 00 01 00 04 00 00 00 05 | 00 03 00 00 00 09 00 00 |........|........|
|000034e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 a5 a6 |........|........|
|000034f0| 6e d9 a6 9c fa c9 00 00 | 00 09 00 00 00 0a 00 00 |n.......|........|
|00003500| 00 06 5f 00 06 47 65 6e | 65 76 61 00 00 00 00 00 |.._..Gen|eva.....|
|00003510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003520| 00 00 00 00 00 00 00 00 | 00 8f 00 2a 01 25 01 ba |........|...*.%..|
|00003530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003540| 00 00 00 00 00 00 00 11 | 00 11 00 11 00 11 00 11 |........|........|
|00003550| 00 48 00 a8 00 41 0a 6c | 6f 6f 6b 75 70 49 6e 66 |.H...A.l|ookupInf|
|00003560| 6f 00 00 0f ca 00 01 04 | 6e 00 02 00 00 01 f2 00 |o.......|n.......|
|00003570| 00 0d 5c 00 25 02 00 00 | 0f 06 47 65 6e 65 76 61 |..\.%...|..Geneva|
|00003580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003590| 00 00 00 00 00 00 00 00 | 00 00 00 00 09 00 00 00 |........|........|
|000035a0| 00 00 00 00 00 00 00 07 | 20 00 00 a5 a7 c8 c2 a6 |........| .......|
|000035b0| 9c f7 0c 00 00 00 19 00 | 00 00 29 00 17 02 9f 02 |........|..).....|
|000035c0| 05 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000035d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000035e0| 00 6f 6e 20 6c 6f 6f 6b | 75 70 49 6e 66 6f 28 77 |.on look|upInfo(w|
|000035f0| 68 65 72 65 2c 69 6e 64 | 65 78 2c 73 65 61 72 63 |here,ind|ex,searc|
|00003600| 68 4d 6f 64 65 2c 73 65 | 61 72 63 68 53 74 72 69 |hMode,se|archStri|
|00003610| 6e 67 2c 73 65 61 72 63 | 68 41 6e 64 4f 72 2c 66 |ng,searc|hAndOr,f|
|00003620| 69 6c 65 43 6f 75 6e 74 | 2c 74 69 6d 65 4f 75 74 |ileCount|,timeOut|
|00003630| 2c 73 74 61 72 74 50 6f | 73 69 74 69 6f 6e 29 0d |,startPo|sition).|
|00003640| 09 6c 6f 63 61 6c 20 28 | 70 61 72 61 6d 73 2c 20 |.local (|params, |
|00003650| 72 65 73 75 6c 74 2c 20 | 69 2c 20 66 69 6c 65 2c |result, |i, file,|
|00003660| 20 74 65 6d 70 2c 20 6c | 6f 63 29 0d 09 69 66 20 | temp, l|oc)..if |
|00003670| 6e 6f 74 20 73 79 73 2e | 61 70 70 49 73 52 75 6e |not sys.|appIsRun|
|00003680| 6e 69 6e 67 28 4f 6e 4c | 6f 63 61 74 69 6f 6e 2e |ning(OnL|ocation.|
|00003690| 69 64 29 0d 09 09 73 63 | 72 69 70 74 45 72 72 6f |id)...sc|riptErro|
|000036a0| 72 28 22 4f 6e 4c 6f 63 | 61 74 69 6f 6e 20 69 73 |r("OnLoc|ation is|
|000036b0| 20 6e 6f 74 20 72 75 6e | 6e 69 6e 67 2c 20 6c 6f | not run|ning, lo|
|000036c0| 6f 6b 75 70 49 6e 66 6f | 20 63 61 6e 20 6e 6f 74 |okupInfo| can not|
|000036d0| 20 62 65 20 63 61 6c 6c | 65 64 20 61 74 20 74 68 | be call|ed at th|
|000036e0| 69 73 20 74 69 6d 65 22 | 29 0d 09 69 66 20 6e 6f |is time"|)..if no|
|000036f0| 74 20 6e 65 77 28 74 61 | 62 6c 65 54 79 70 65 2c |t new(ta|bleType,|
|00003700| 40 70 61 72 61 6d 73 29 | 0d 09 09 73 63 72 69 70 |@params)|...scrip|
|00003710| 74 45 72 72 6f 72 28 22 | 55 6e 61 62 6c 65 20 74 |tError("|Unable t|
|00003720| 6f 20 63 72 65 61 74 65 | 20 70 61 72 61 6d 65 74 |o create| paramet|
|00003730| 65 72 20 74 61 62 6c 65 | 20 69 6e 20 4f 6e 4c 6f |er table| in OnLo|
|00003740| 63 61 74 69 6f 6e 2e 6c | 6f 6f 6b 75 70 49 6e 66 |cation.l|ookupInf|
|00003750| 6f 22 29 0d 09 69 66 20 | 69 6e 64 65 78 20 21 3d |o")..if |index !=|
|00003760| 20 22 22 0d 09 09 70 61 | 72 61 6d 73 2e 69 6e 64 | ""...pa|rams.ind|
|00003770| 78 20 3d 20 66 69 6c 65 | 53 70 65 63 28 69 6e 64 |x = file|Spec(ind|
|00003780| 65 78 29 0d 09 70 61 72 | 61 6d 73 2e 71 73 74 72 |ex)..par|ams.qstr|
|00003790| 20 3d 20 73 74 72 69 6e | 67 28 73 65 61 72 63 68 | = strin|g(search|
|000037a0| 53 74 72 69 6e 67 29 0d | 09 69 66 20 64 65 66 69 |String).|.if defi|
|000037b0| 6e 65 64 28 4f 6e 4c 6f | 63 61 74 69 6f 6e 2e 73 |ned(OnLo|cation.s|
|000037c0| 65 61 72 63 68 4d 6f 64 | 65 2e 5b 73 65 61 72 63 |earchMod|e.[searc|
|000037d0| 68 4d 6f 64 65 5d 29 0d | 09 09 70 61 72 61 6d 73 |hMode]).|..params|
|000037e0| 2e 6d 6f 64 65 20 3d 20 | 4f 6e 4c 6f 63 61 74 69 |.mode = |OnLocati|
|000037f0| 6f 6e 2e 73 65 61 72 63 | 68 4d 6f 64 65 2e 5b 73 |on.searc|hMode.[s|
|00003800| 65 61 72 63 68 4d 6f 64 | 65 5d 0d 09 65 6c 73 65 |earchMod|e]..else|
|00003810| 0d 09 09 73 63 72 69 70 | 74 45 72 72 6f 72 28 22 |...scrip|tError("|
|00003820| 4f 6e 4c 6f 63 61 74 69 | 6f 6e 2e 6c 6f 6f 6b 75 |OnLocati|on.looku|
|00003830| 70 49 6e 66 6f 3a 20 49 | 6e 76 61 6c 69 64 20 76 |pInfo: I|nvalid v|
|00003840| 61 6c 75 65 20 66 6f 72 | 20 73 65 61 72 63 68 4d |alue for| searchM|
|00003850| 6f 64 65 3a 20 27 22 20 | 2b 20 73 65 61 72 63 68 |ode: '" |+ search|
|00003860| 4d 6f 64 65 20 2b 20 22 | 27 22 29 0d 09 63 61 73 |Mode + "|'")..cas|
|00003870| 65 20 73 74 72 69 6e 67 | 2e 75 70 70 65 72 28 73 |e string|.upper(s|
|00003880| 65 61 72 63 68 41 6e 64 | 4f 72 29 0d 09 09 22 41 |earchAnd|Or)..."A|
|00003890| 4e 44 22 0d 09 09 09 70 | 61 72 61 6d 73 2e 62 6f |ND"....p|arams.bo|
|000038a0| 6f 6c 20 3d 20 30 0d 09 | 09 22 4f 52 22 0d 09 09 |ol = 0..|."OR"...|
|000038b0| 09 70 61 72 61 6d 73 2e | 62 6f 6f 6c 20 3d 20 31 |.params.|bool = 1|
|000038c0| 0d 09 09 22 22 0d 09 09 | 09 0d 09 65 6c 73 65 0d |...""...|...else.|
|000038d0| 09 09 73 63 72 69 70 74 | 45 72 72 6f 72 28 22 4f |..script|Error("O|
|000038e0| 6e 4c 6f 63 61 74 69 6f | 6e 2e 6c 6f 6f 6b 75 70 |nLocatio|n.lookup|
|000038f0| 49 6e 66 6f 3a 20 49 6e | 76 61 6c 69 64 20 76 61 |Info: In|valid va|
|00003900| 6c 75 65 20 66 6f 72 20 | 73 65 61 72 63 68 41 6e |lue for |searchAn|
|00003910| 64 4f 72 3a 20 27 22 20 | 2b 20 73 65 61 72 63 68 |dOr: '" |+ search|
|00003920| 41 6e 64 4f 72 20 2b 20 | 22 27 22 29 0d 09 69 66 |AndOr + |"'")..if|
|00003930| 20 6e 75 6d 62 65 72 28 | 66 69 6c 65 43 6f 75 6e | number(|fileCoun|
|00003940| 74 29 20 3e 20 30 0d 09 | 09 70 61 72 61 6d 73 2e |t) > 0..|.params.|
|00003950| 72 65 74 6e 20 3d 20 6c | 6f 6e 67 28 66 69 6c 65 |retn = l|ong(file|
|00003960| 43 6f 75 6e 74 29 0d 09 | 69 66 20 6e 75 6d 62 65 |Count)..|if numbe|
|00003970| 72 28 74 69 6d 65 4f 75 | 74 29 20 3e 20 30 0d 09 |r(timeOu|t) > 0..|
|00003980| 09 70 61 72 61 6d 73 2e | 74 69 6d 65 20 3d 20 6c |.params.|time = l|
|00003990| 6f 6e 67 28 74 69 6d 65 | 4f 75 74 29 0d 09 69 66 |ong(time|Out)..if|
|000039a0| 20 6e 75 6d 62 65 72 28 | 73 74 61 72 74 50 6f 73 | number(|startPos|
|000039b0| 69 74 69 6f 6e 29 20 3e | 20 30 0d 09 09 70 61 72 |ition) >| 0...par|
|000039c0| 61 6d 73 2e 70 6f 73 6e | 20 3d 20 6c 6f 6e 67 28 |ams.posn| = long(|
|000039d0| 73 74 61 72 74 50 6f 73 | 69 74 69 6f 6e 29 0d 09 |startPos|ition)..|
|000039e0| 69 66 20 6e 6f 74 20 74 | 61 62 6c 65 45 76 65 6e |if not t|ableEven|
|000039f0| 74 28 40 70 61 72 61 6d | 73 2c 40 72 65 73 75 6c |t(@param|s,@resul|
|00003a00| 74 2c 4f 6e 4c 6f 63 61 | 74 69 6f 6e 2e 69 64 2c |t,OnLoca|tion.id,|
|00003a10| 27 4f 4e 4c 43 27 2c 27 | 71 75 72 79 27 29 0d 09 |'ONLC','|qury')..|
|00003a20| 09 73 63 72 69 70 74 45 | 72 72 6f 72 28 22 4f 6e |.scriptE|rror("On|
|00003a30| 4c 6f 63 61 74 69 6f 6e | 2e 6c 6f 6f 6b 75 70 49 |Location|.lookupI|
|00003a40| 6e 66 6f 3a 20 55 6e 61 | 62 6c 65 20 74 6f 20 73 |nfo: Una|ble to s|
|00003a50| 65 6e 64 20 71 75 65 72 | 79 20 72 65 71 75 65 73 |end quer|y reques|
|00003a60| 74 20 74 6f 20 4f 6e 4c | 6f 63 61 74 69 6f 6e 22 |t to OnL|ocation"|
|00003a70| 29 0d 09 69 66 20 6e 6f | 74 20 6e 65 77 28 74 61 |)..if no|t new(ta|
|00003a80| 62 6c 65 54 79 70 65 2c | 40 77 68 65 72 65 5e 29 |bleType,|@where^)|
|00003a90| 0d 09 09 73 63 72 69 70 | 74 45 72 72 6f 72 28 22 |...scrip|tError("|
|00003aa0| 55 6e 61 62 6c 65 20 74 | 6f 20 63 72 65 61 74 65 |Unable t|o create|
|00003ab0| 20 72 65 73 75 6c 74 20 | 74 61 62 6c 65 20 69 6e | result |table in|
|00003ac0| 20 4f 6e 4c 6f 63 61 74 | 69 6f 6e 2e 6c 6f 6f 6b | OnLocat|ion.look|
|00003ad0| 75 70 49 6e 66 6f 22 29 | 0d 09 74 61 62 6c 65 2e |upInfo")|..table.|
|00003ae0| 61 73 73 69 67 6e 28 40 | 77 68 65 72 65 5e 2e 66 |assign(@|where^.f|
|00003af0| 69 6c 65 43 6f 75 6e 74 | 2c 20 72 65 73 75 6c 74 |ileCount|, result|
|00003b00| 2e 6e 72 65 74 29 0d 09 | 74 61 62 6c 65 2e 61 73 |.nret)..|table.as|
|00003b10| 73 69 67 6e 28 40 77 68 | 65 72 65 5e 2e 65 6e 64 |sign(@wh|ere^.end|
|00003b20| 50 6f 73 69 74 69 6f 6e | 2c 72 65 73 75 6c 74 2e |Position|,result.|
|00003b30| 70 6f 73 6e 29 0d 09 69 | 66 20 6e 6f 74 20 6e 65 |posn)..i|f not ne|
|00003b40| 77 28 74 61 62 6c 65 54 | 79 70 65 2c 40 77 68 65 |w(tableT|ype,@whe|
|00003b50| 72 65 5e 5b 22 66 69 6c | 65 4c 69 73 74 22 5d 29 |re^["fil|eList"])|
|00003b60| 0d 09 09 73 63 72 69 70 | 74 45 72 72 6f 72 28 22 |...scrip|tError("|
|00003b70| 4f 6e 4c 6f 63 61 74 69 | 6f 6e 2e 6c 6f 6f 6b 75 |OnLocati|on.looku|
|00003b80| 70 49 6e 66 6f 3a 20 55 | 6e 61 62 6c 65 20 74 6f |pInfo: U|nable to|
|00003b90| 20 63 72 65 61 74 65 20 | 66 69 6c 65 4c 69 73 74 | create |fileList|
|00003ba0| 20 74 61 62 6c 65 22 29 | 0d 09 66 6f 72 20 69 20 | table")|..for i |
|00003bb0| 3d 20 31 20 74 6f 20 72 | 65 73 75 6c 74 2e 6e 72 |= 1 to r|esult.nr|
|00003bc0| 65 74 0d 09 09 62 75 6e | 64 6c 65 20 c7 20 47 65 |et...bun|dle . Ge|
|00003bd0| 6e 65 72 61 74 65 20 61 | 20 6e 61 6d 65 20 74 68 |nerate a| name th|
|00003be0| 61 74 20 69 73 20 61 6c | 77 61 79 73 20 22 66 69 |at is al|ways "fi|
|00003bf0| 6c 65 6e 6e 6e 22 20 73 | 6f 20 69 74 20 73 6f 72 |lennn" s|o it sor|
|00003c00| 74 73 20 72 69 67 68 74 | 2e 0d 09 09 09 6c 6f 63 |ts right|.....loc|
|00003c10| 20 3d 20 40 77 68 65 72 | 65 5e 5b 22 66 69 6c 65 | = @wher|e^["file|
|00003c20| 4c 69 73 74 22 5d 0d 09 | 09 09 69 66 20 69 3c 31 |List"]..|..if i<1|
|00003c30| 30 0d 09 09 09 09 6c 6f | 63 20 3d 20 40 6c 6f 63 |0.....lo|c = @loc|
|00003c40| 5e 5b 22 66 69 6c 65 30 | 30 22 2b 69 5d 0d 09 09 |^["file0|0"+i]...|
|00003c50| 09 65 6c 73 65 0d 09 09 | 09 09 69 66 20 69 3c 31 |.else...|..if i<1|
|00003c60| 30 30 0d 09 09 09 09 09 | 6c 6f 63 20 3d 20 40 6c |00......|loc = @l|
|00003c70| 6f 63 5e 5b 22 66 69 6c | 65 30 22 2b 69 5d 0d 09 |oc^["fil|e0"+i]..|
|00003c80| 09 09 09 65 6c 73 65 0d | 09 09 09 09 09 6c 6f 63 |...else.|.....loc|
|00003c90| 20 3d 20 40 6c 6f 63 5e | 5b 22 66 69 6c 65 22 2b | = @loc^|["file"+|
|00003ca0| 69 5d 0d 09 09 69 66 20 | 6e 6f 74 20 67 65 74 41 |i]...if |not getA|
|00003cb0| 70 70 6c 65 4c 69 73 74 | 49 74 65 6d 28 72 65 73 |ppleList|Item(res|
|00003cc0| 75 6c 74 2e 66 6c 73 74 | 2c 69 2c 40 66 69 6c 65 |ult.flst|,i,@file|
|00003cd0| 29 0d 09 09 09 73 63 72 | 69 70 74 45 72 72 6f 72 |)....scr|iptError|
|00003ce0| 28 22 4f 6e 4c 6f 63 61 | 74 69 6f 6e 2e 6c 6f 6f |("OnLoca|tion.loo|
|00003cf0| 6b 75 70 49 6e 66 6f 3a | 20 55 6e 61 62 6c 65 20 |kupInfo:| Unable |
|00003d00| 74 6f 20 67 65 74 20 66 | 69 6c 65 20 69 6e 66 6f |to get f|ile info|
|00003d10| 72 6d 61 74 69 6f 6e 22 | 20 29 0d 09 09 69 66 20 |rmation"| )...if |
|00003d20| 6e 6f 74 20 6e 65 77 28 | 74 61 62 6c 65 54 79 70 |not new(|tableTyp|
|00003d30| 65 2c 6c 6f 63 29 0d 09 | 09 09 73 63 72 69 70 74 |e,loc)..|..script|
|00003d40| 45 72 72 6f 72 28 22 4f | 6e 4c 6f 63 61 74 69 6f |Error("O|nLocatio|
|00003d50| 6e 2e 6c 6f 6f 6b 75 70 | 49 6e 66 6f 3a 20 55 6e |n.lookup|Info: Un|
|00003d60| 61 62 6c 65 20 74 6f 20 | 63 72 65 61 74 65 20 74 |able to |create t|
|00003d70| 61 62 6c 65 20 66 6f 72 | 20 66 69 6c 65 20 61 74 |able for| file at|
|00003d80| 74 72 69 62 75 74 65 73 | 22 29 0d 09 09 62 75 6e |tributes|")...bun|
|00003d90| 64 6c 65 20 20 c7 20 47 | 65 74 20 74 68 65 20 70 |dle . G|et the p|
|00003da0| 61 74 68 0d 09 09 09 69 | 66 20 6e 6f 74 20 67 65 |ath....i|f not ge|
|00003db0| 74 41 70 70 6c 65 4c 69 | 73 74 49 74 65 6d 28 66 |tAppleLi|stItem(f|
|00003dc0| 69 6c 65 2c 27 70 61 74 | 68 27 2c 40 74 65 6d 70 |ile,'pat|h',@temp|
|00003dd0| 29 0d 09 09 09 09 73 63 | 72 69 70 74 45 72 72 6f |).....sc|riptErro|
|00003de0| 72 28 22 4f 6e 4c 6f 63 | 61 74 69 6f 6e 2e 6c 6f |r("OnLoc|ation.lo|
|00003df0| 6f 6b 75 70 49 6e 66 6f | 3a 20 55 6e 61 62 6c 65 |okupInfo|: Unable|
|00003e00| 20 74 6f 20 67 65 74 20 | 66 69 6c 65 20 70 61 74 | to get |file pat|
|00003e10| 68 22 29 0d 09 09 09 74 | 61 62 6c 65 2e 61 73 73 |h")....t|able.ass|
|00003e20| 69 67 6e 28 40 6c 6f 63 | 5e 2e 70 61 74 68 2c 74 |ign(@loc|^.path,t|
|00003e30| 65 6d 70 29 0d 09 09 62 | 75 6e 64 6c 65 20 20 c7 |emp)...b|undle .|
|00003e40| 20 47 65 74 20 74 68 65 | 20 6e 61 6d 65 0d 09 09 | Get the| name...|
|00003e50| 09 69 66 20 6e 6f 74 20 | 67 65 74 41 70 70 6c 65 |.if not |getApple|
|00003e60| 4c 69 73 74 49 74 65 6d | 28 66 69 6c 65 2c 27 66 |ListItem|(file,'f|
|00003e70| 6e 61 6d 27 2c 40 74 65 | 6d 70 29 0d 09 09 09 09 |nam',@te|mp).....|
|00003e80| 73 63 72 69 70 74 45 72 | 72 6f 72 28 22 4f 6e 4c |scriptEr|ror("OnL|
|00003e90| 6f 63 61 74 69 6f 6e 2e | 6c 6f 6f 6b 75 70 49 6e |ocation.|lookupIn|
|00003ea0| 66 6f 3a 20 55 6e 61 62 | 6c 65 20 74 6f 20 67 65 |fo: Unab|le to ge|
|00003eb0| 74 20 66 69 6c 65 20 6e | 61 6d 65 22 29 0d 09 09 |t file n|ame")...|
|00003ec0| 09 74 61 62 6c 65 2e 61 | 73 73 69 67 6e 28 40 6c |.table.a|ssign(@l|
|00003ed0| 6f 63 5e 2e 66 69 6c 65 | 6e 61 6d 65 2c 74 65 6d |oc^.file|name,tem|
|00003ee0| 70 29 0d 09 09 62 75 6e | 64 6c 65 20 20 c7 20 47 |p)...bun|dle . G|
|00003ef0| 65 74 20 74 68 65 20 74 | 79 70 65 0d 09 09 09 69 |et the t|ype....i|
|00003f00| 66 20 6e 6f 74 20 67 65 | 74 41 70 70 6c 65 4c 69 |f not ge|tAppleLi|
|00003f10| 73 74 49 74 65 6d 28 66 | 69 6c 65 2c 27 74 79 70 |stItem(f|ile,'typ|
|00003f20| 65 27 2c 40 74 65 6d 70 | 29 0d 09 09 09 09 73 63 |e',@temp|).....sc|
|00003f30| 72 69 70 74 45 72 72 6f | 72 28 22 4f 6e 4c 6f 63 |riptErro|r("OnLoc|
|00003f40| 61 74 69 6f 6e 2e 6c 6f | 6f 6b 75 70 49 6e 66 6f |ation.lo|okupInfo|
|00003f50| 3a 20 55 6e 61 62 6c 65 | 20 74 6f 20 66 69 6c 65 |: Unable| to file|
|00003f60| 20 74 79 70 65 22 29 0d | 09 09 09 74 61 62 6c 65 | type").|...table|
|00003f70| 2e 61 73 73 69 67 6e 28 | 40 6c 6f 63 5e 2e 74 79 |.assign(|@loc^.ty|
|00003f80| 70 65 2c 53 74 72 69 6e | 67 34 28 74 65 6d 70 29 |pe,Strin|g4(temp)|
|00003f90| 29 0d 09 09 62 75 6e 64 | 6c 65 20 20 c7 20 47 65 |)...bund|le . Ge|
|00003fa0| 74 20 74 68 65 20 63 72 | 65 61 74 6f 72 0d 09 09 |t the cr|eator...|
|00003fb0| 09 69 66 20 6e 6f 74 20 | 67 65 74 41 70 70 6c 65 |.if not |getApple|
|00003fc0| 4c 69 73 74 49 74 65 6d | 28 66 69 6c 65 2c 27 63 |ListItem|(file,'c|
|00003fd0| 72 74 72 27 2c 40 74 65 | 6d 70 29 0d 09 09 09 09 |rtr',@te|mp).....|
|00003fe0| 73 63 72 69 70 74 45 72 | 72 6f 72 28 22 4f 6e 4c |scriptEr|ror("OnL|
|00003ff0| 6f 63 61 74 69 6f 6e 2e | 6c 6f 6f 6b 75 70 49 6e |ocation.|lookupIn|
|00004000| 66 6f 3a 20 55 6e 61 62 | 6c 65 20 74 6f 20 67 65 |fo: Unab|le to ge|
|00004010| 74 20 66 69 6c 65 20 63 | 72 65 61 74 6f 72 22 29 |t file c|reator")|
|00004020| 0d 09 09 09 74 61 62 6c | 65 2e 61 73 73 69 67 6e |....tabl|e.assign|
|00004030| 28 40 6c 6f 63 5e 2e 63 | 72 65 61 74 6f 72 2c 53 |(@loc^.c|reator,S|
|00004040| 74 72 69 6e 67 34 28 74 | 65 6d 70 29 29 0d 09 09 |tring4(t|emp))...|
|00004050| 62 75 6e 64 6c 65 20 20 | c7 20 47 65 74 20 74 68 |bundle |. Get th|
|00004060| 65 20 6d 6f 64 20 64 61 | 74 65 0d 09 09 09 69 66 |e mod da|te....if|
|00004070| 20 6e 6f 74 20 67 65 74 | 41 70 70 6c 65 4c 69 73 | not get|AppleLis|
|00004080| 74 49 74 65 6d 28 66 69 | 6c 65 2c 27 6d 64 64 74 |tItem(fi|le,'mddt|
|00004090| 27 2c 40 74 65 6d 70 29 | 0d 09 09 09 09 73 63 72 |',@temp)|.....scr|
|000040a0| 69 70 74 45 72 72 6f 72 | 28 22 4f 6e 4c 6f 63 61 |iptError|("OnLoca|
|000040b0| 74 69 6f 6e 2e 6c 6f 6f | 6b 75 70 49 6e 66 6f 3a |tion.loo|kupInfo:|
|000040c0| 20 55 6e 61 62 6c 65 20 | 74 6f 20 6d 6f 64 69 66 | Unable |to modif|
|000040d0| 69 63 61 74 69 6f 6e 20 | 64 61 74 65 22 29 0d 09 |ication |date")..|
|000040e0| 09 09 74 61 62 6c 65 2e | 61 73 73 69 67 6e 28 40 |..table.|assign(@|
|000040f0| 6c 6f 63 5e 2e 6d 6f 64 | 44 61 74 65 2c 44 61 74 |loc^.mod|Date,Dat|
|00004100| 65 28 74 65 6d 70 29 29 | 0d 09 09 62 75 6e 64 6c |e(temp))|...bundl|
|00004110| 65 20 20 c7 20 47 65 74 | 20 74 68 65 20 63 72 65 |e . Get| the cre|
|00004120| 61 74 65 20 64 61 74 65 | 0d 09 09 09 69 66 20 6e |ate date|....if n|
|00004130| 6f 74 20 67 65 74 41 70 | 70 6c 65 4c 69 73 74 49 |ot getAp|pleListI|
|00004140| 74 65 6d 28 66 69 6c 65 | 2c 27 63 72 64 74 27 2c |tem(file|,'crdt',|
|00004150| 40 74 65 6d 70 29 0d 09 | 09 09 09 73 63 72 69 70 |@temp)..|...scrip|
|00004160| 74 45 72 72 6f 72 28 22 | 4f 6e 4c 6f 63 61 74 69 |tError("|OnLocati|
|00004170| 6f 6e 2e 6c 6f 6f 6b 75 | 70 49 6e 66 6f 3a 20 55 |on.looku|pInfo: U|
|00004180| 6e 61 62 6c 65 20 74 6f | 20 67 65 74 20 63 72 65 |nable to| get cre|
|00004190| 61 74 65 20 64 61 74 65 | 22 29 0d 09 09 09 74 61 |ate date|")....ta|
|000041a0| 62 6c 65 2e 61 73 73 69 | 67 6e 28 40 6c 6f 63 5e |ble.assi|gn(@loc^|
|000041b0| 2e 63 72 65 61 74 65 44 | 61 74 65 2c 44 61 74 65 |.createD|ate,Date|
|000041c0| 28 74 65 6d 70 29 29 0d | 09 09 62 75 6e 64 6c 65 |(temp)).|..bundle|
|000041d0| 20 20 c7 20 47 65 74 20 | 74 68 65 20 73 69 7a 65 | . Get |the size|
|000041e0| 0d 09 09 09 69 66 20 6e | 6f 74 20 67 65 74 41 70 |....if n|ot getAp|
|000041f0| 70 6c 65 4c 69 73 74 49 | 74 65 6d 28 66 69 6c 65 |pleListI|tem(file|
|00004200| 2c 27 73 69 7a 65 27 2c | 40 74 65 6d 70 29 0d 09 |,'size',|@temp)..|
|00004210| 09 09 09 73 63 72 69 70 | 74 45 72 72 6f 72 28 22 |...scrip|tError("|
|00004220| 4f 6e 4c 6f 63 61 74 69 | 6f 6e 2e 6c 6f 6f 6b 75 |OnLocati|on.looku|
|00004230| 70 49 6e 66 6f 3a 20 55 | 6e 61 62 6c 65 20 74 6f |pInfo: U|nable to|
|00004240| 20 66 69 6c 65 20 73 69 | 7a 65 22 29 0d 09 09 09 | file si|ze")....|
|00004250| 74 61 62 6c 65 2e 61 73 | 73 69 67 6e 28 40 6c 6f |table.as|sign(@lo|
|00004260| 63 5e 2e 73 69 7a 65 2c | 4e 75 6d 62 65 72 28 74 |c^.size,|Number(t|
|00004270| 65 6d 70 29 29 0d 09 09 | 62 75 6e 64 6c 65 20 20 |emp))...|bundle |
|00004280| c7 20 47 65 74 20 74 68 | 65 20 66 6c 61 67 73 0d |. Get th|e flags.|
|00004290| 09 09 09 69 66 20 6e 6f | 74 20 67 65 74 41 70 70 |...if no|t getApp|
|000042a0| 6c 65 4c 69 73 74 49 74 | 65 6d 28 66 69 6c 65 2c |leListIt|em(file,|
|000042b0| 27 66 6c 67 73 27 2c 40 | 74 65 6d 70 29 0d 09 09 |'flgs',@|temp)...|
|000042c0| 09 09 73 63 72 69 70 74 | 45 72 72 6f 72 28 22 4f |..script|Error("O|
|000042d0| 6e 4c 6f 63 61 74 69 6f | 6e 2e 6c 6f 6f 6b 75 70 |nLocatio|n.lookup|
|000042e0| 49 6e 66 6f 3a 20 55 6e | 61 62 6c 65 20 74 6f 20 |Info: Un|able to |
|000042f0| 67 65 74 20 66 6c 61 67 | 73 20 66 6f 72 20 61 20 |get flag|s for a |
|00004300| 66 69 6c 65 22 29 0d 09 | 09 09 74 61 62 6c 65 2e |file")..|..table.|
|00004310| 61 73 73 69 67 6e 28 40 | 6c 6f 63 5e 2e 66 6c 61 |assign(@|loc^.fla|
|00004320| 67 73 2c 74 65 6d 70 29 | 0d 09 72 65 74 75 72 6e |gs,temp)|..return|
|00004330| 20 72 65 73 75 6c 74 2e | 6e 72 65 74 0d 80 00 00 | result.|nret....|
|00004340| 00 00 00 80 00 00 00 00 | 00 80 00 00 00 00 00 00 |........|........|
|00004350| 00 00 00 00 00 80 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004360| 00 80 00 00 00 00 00 80 | 00 00 00 00 00 80 00 00 |........|........|
|00004370| 00 00 00 80 00 00 00 00 | 00 80 00 00 00 00 00 80 |........|........|
|00004380| 00 00 00 00 00 00 00 00 | 00 00 00 80 00 00 00 00 |........|........|
|00004390| 00 80 00 00 00 00 00 00 | 00 00 00 00 00 80 00 00 |........|........|
|000043a0| 00 00 00 00 00 00 00 00 | 00 80 00 00 00 00 00 00 |........|........|
|000043b0| 00 00 00 00 00 80 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000043c0| 00 80 00 00 00 00 00 80 | 00 00 00 00 00 80 00 00 |........|........|
|000043d0| 00 00 00 80 00 00 00 00 | 00 80 00 00 00 00 00 80 |........|........|
|000043e0| 00 00 00 00 00 80 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000043f0| 00 80 00 00 00 00 00 00 | 00 00 00 00 00 80 00 00 |........|........|
|00004400| 00 00 00 80 00 00 00 00 | 00 80 00 00 00 00 00 00 |........|........|
|00004410| 00 00 00 00 00 80 00 00 | 00 00 00 80 00 00 00 00 |........|........|
|00004420| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004430| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004440| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004450| 00 80 00 00 00 00 00 00 | 00 00 00 00 00 80 00 00 |........|........|
|00004460| 00 00 00 00 00 00 00 00 | 00 80 00 00 00 00 00 00 |........|........|
|00004470| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004480| 00 80 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004490| 00 00 00 00 00 00 00 00 | 00 80 00 00 00 00 00 00 |........|........|
|000044a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000044b0| 00 80 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000044c0| 00 00 00 00 00 00 00 00 | 00 80 00 00 00 00 00 00 |........|........|
|000044d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000044e0| 00 80 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000044f0| 00 00 00 00 00 00 00 00 | 00 80 00 00 00 00 00 00 |........|........|
|00004500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004510| 00 80 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004520| 00 00 00 00 00 00 00 00 | 00 80 00 00 00 00 00 00 |........|........|
|00004530| 01 00 00 00 00 00 08 00 | 03 00 00 00 0c 00 00 00 |........|........|
|00004540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 a5 a6 6e |........|.......n|
|00004550| d5 a6 9c fa c9 00 00 00 | 10 00 00 00 12 00 00 00 |........|........|
|00004560| 06 5f 00 07 43 68 69 63 | 61 67 6f 00 00 00 00 00 |._..Chic|ago.....|
|00004570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004580| 00 00 00 00 00 00 00 00 | 8c 00 42 01 81 01 d8 00 |........|..B.....|
|00004590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000045a0| 00 00 00 00 00 00 15 00 | 15 00 15 00 15 00 15 00 |........|........|
|000045b0| 15 00 15 00 15 00 15 00 | 86 00 78 00 39 |........|..x.9 |
+--------+-------------------------+-------------------------+--------+--------+